Class CloudAsmDiskGroupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudAsmDiskGroupSummary.Builder
-
- Enclosing class:
- CloudAsmDiskGroupSummary
public static class CloudAsmDiskGroupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudAsmDiskGroupSummary
build()
CloudAsmDiskGroupSummary.Builder
copy(CloudAsmDiskGroupSummary model)
CloudAsmDiskGroupSummary.Builder
databases(List<String> databases)
The unique names of the databases using the disk group.CloudAsmDiskGroupSummary.Builder
dismountingInstanceCount(Integer dismountingInstanceCount)
The number of ASM instances that have the disk group in dismounted state.CloudAsmDiskGroupSummary.Builder
isSparse(Boolean isSparse)
Indicates whether the disk group is a sparse disk group or not.CloudAsmDiskGroupSummary.Builder
mountingInstanceCount(Integer mountingInstanceCount)
The number of ASM instances that have the disk group in mounted state.CloudAsmDiskGroupSummary.Builder
name(String name)
The name of the ASM disk group.CloudAsmDiskGroupSummary.Builder
redundancyType(CloudAsmDiskGroupSummary.RedundancyType redundancyType)
The redundancy type of the disk group.CloudAsmDiskGroupSummary.Builder
totalSizeInMBs(Long totalSizeInMBs)
The total capacity of the disk group (in megabytes).CloudAsmDiskGroupSummary.Builder
usedPercent(Float usedPercent)
The percentage of used space in the disk group.CloudAsmDiskGroupSummary.Builder
usedSizeInMBs(Long usedSizeInMBs)
The used capacity of the disk group (in megabytes).
-
-
-
Method Detail
-
name
public CloudAsmDiskGroupSummary.Builder name(String name)
The name of the ASM disk group.- Parameters:
name
- the value to set- Returns:
- this builder
-
mountingInstanceCount
public CloudAsmDiskGroupSummary.Builder mountingInstanceCount(Integer mountingInstanceCount)
The number of ASM instances that have the disk group in mounted state.- Parameters:
mountingInstanceCount
- the value to set- Returns:
- this builder
-
dismountingInstanceCount
public CloudAsmDiskGroupSummary.Builder dismountingInstanceCount(Integer dismountingInstanceCount)
The number of ASM instances that have the disk group in dismounted state.- Parameters:
dismountingInstanceCount
- the value to set- Returns:
- this builder
-
redundancyType
public CloudAsmDiskGroupSummary.Builder redundancyType(CloudAsmDiskGroupSummary.RedundancyType redundancyType)
The redundancy type of the disk group.- Parameters:
redundancyType
- the value to set- Returns:
- this builder
-
isSparse
public CloudAsmDiskGroupSummary.Builder isSparse(Boolean isSparse)
Indicates whether the disk group is a sparse disk group or not.- Parameters:
isSparse
- the value to set- Returns:
- this builder
-
databases
public CloudAsmDiskGroupSummary.Builder databases(List<String> databases)
The unique names of the databases using the disk group.- Parameters:
databases
- the value to set- Returns:
- this builder
-
totalSizeInMBs
public CloudAsmDiskGroupSummary.Builder totalSizeInMBs(Long totalSizeInMBs)
The total capacity of the disk group (in megabytes).- Parameters:
totalSizeInMBs
- the value to set- Returns:
- this builder
-
usedSizeInMBs
public CloudAsmDiskGroupSummary.Builder usedSizeInMBs(Long usedSizeInMBs)
The used capacity of the disk group (in megabytes).- Parameters:
usedSizeInMBs
- the value to set- Returns:
- this builder
-
usedPercent
public CloudAsmDiskGroupSummary.Builder usedPercent(Float usedPercent)
The percentage of used space in the disk group.- Parameters:
usedPercent
- the value to set- Returns:
- this builder
-
build
public CloudAsmDiskGroupSummary build()
-
copy
public CloudAsmDiskGroupSummary.Builder copy(CloudAsmDiskGroupSummary model)
-
-