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