Class VmCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.VmCluster.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmCluster.Builder
availabilityDomain(String availabilityDomain)
The name of the availability domain that the VM cluster is located in.VmCluster
build()
VmCluster.Builder
cloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails)
VmCluster.Builder
compartmentId(String compartmentId)
The OCID of the compartment.VmCluster.Builder
computeModel(VmCluster.ComputeModel computeModel)
The compute model of the Autonomous Database.VmCluster.Builder
copy(VmCluster model)
VmCluster.Builder
cpusEnabled(Integer cpusEnabled)
The number of enabled CPU cores.VmCluster.Builder
dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
VmCluster.Builder
dataStorageSizeInGBs(Double dataStorageSizeInGBs)
Size of the DATA disk group in GBs.VmCluster.Builder
dataStorageSizeInTBs(Double dataStorageSizeInTBs)
Size, in terabytes, of the DATA disk group.VmCluster.Builder
dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The local node storage allocated in GBs.VmCluster.Builder
dbServers(List<String> dbServers)
The list of Db server.VmCluster.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.VmCluster.Builder
displayName(String displayName)
The user-friendly name for the Exadata Cloud@Customer VM cluster.VmCluster.Builder
exadataInfrastructureId(String exadataInfrastructureId)
The OCID of the Exadata infrastructure.VmCluster.Builder
exascaleDbStorageVaultId(String exascaleDbStorageVaultId)
The OCID of the Exadata Database Storage Vault.VmCluster.Builder
fileSystemConfigurationDetails(List<FileSystemConfigurationDetail> fileSystemConfigurationDetails)
Details of the file system configuration of the VM cluster.VmCluster.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.VmCluster.Builder
giSoftwareImageId(String giSoftwareImageId)
The OCID of a grid infrastructure software image.VmCluster.Builder
giVersion(String giVersion)
The Oracle Grid Infrastructure software version for the VM cluster.VmCluster.Builder
id(String id)
The OCID of the VM cluster.VmCluster.Builder
isLocalBackupEnabled(Boolean isLocalBackupEnabled)
If true, database backup on local Exadata storage is configured for the VM cluster.VmCluster.Builder
isSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled)
If true, sparse disk group is configured for the VM cluster.VmCluster.Builder
lastPatchHistoryEntryId(String lastPatchHistoryEntryId)
The OCID of the last patch history.VmCluster.Builder
licenseModel(VmCluster.LicenseModel licenseModel)
The Oracle license model that applies to the VM cluster.VmCluster.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.VmCluster.Builder
lifecycleState(VmCluster.LifecycleState lifecycleState)
The current state of the VM cluster.VmCluster.Builder
memorySizeInGBs(Integer memorySizeInGBs)
The memory allocated in GBs.VmCluster.Builder
ocpusEnabled(Float ocpusEnabled)
The number of enabled OCPU cores.VmCluster.Builder
shape(String shape)
The shape of the Exadata infrastructure.VmCluster.Builder
sshPublicKeys(List<String> sshPublicKeys)
The public key portion of one or more key pairs used for SSH access to the VM cluster.VmCluster.Builder
storageManagementType(VmCluster.StorageManagementType storageManagementType)
Specifies whether the type of storage management for the VM cluster is ASM or Exascale.VmCluster.Builder
systemVersion(String systemVersion)
Operating system version of the image.VmCluster.Builder
timeCreated(Date timeCreated)
The date and time that the VM cluster was created.VmCluster.Builder
timeZone(String timeZone)
The time zone of the Exadata infrastructure.VmCluster.Builder
vmClusterNetworkId(String vmClusterNetworkId)
The OCID of the VM cluster network.VmCluster.Builder
vmClusterType(VmCluster.VmClusterType vmClusterType)
The vmcluster type for the VM cluster/Cloud VM cluster.
-
-
-
Method Detail
-
id
public VmCluster.Builder id(String id)
The OCID of the VM cluster.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public VmCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
lastPatchHistoryEntryId
public VmCluster.Builder lastPatchHistoryEntryId(String lastPatchHistoryEntryId)
The OCID of the last patch history.This value is updated as soon as a patch operation starts.
- Parameters:
lastPatchHistoryEntryId
- the value to set- Returns:
- this builder
-
lifecycleState
public VmCluster.Builder lifecycleState(VmCluster.LifecycleState lifecycleState)
The current state of the VM cluster.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
displayName
public VmCluster.Builder displayName(String displayName)
The user-friendly name for the Exadata Cloud@Customer VM cluster.The name does not need to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public VmCluster.Builder timeCreated(Date timeCreated)
The date and time that the VM cluster was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleDetails
public VmCluster.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeZone
public VmCluster.Builder timeZone(String timeZone)
The time zone of the Exadata infrastructure.For details, see Exadata Infrastructure Time Zones.
- Parameters:
timeZone
- the value to set- Returns:
- this builder
-
isLocalBackupEnabled
public VmCluster.Builder isLocalBackupEnabled(Boolean isLocalBackupEnabled)
If true, database backup on local Exadata storage is configured for the VM cluster.If false, database backup on local Exadata storage is not available in the VM cluster.
- Parameters:
isLocalBackupEnabled
- the value to set- Returns:
- this builder
-
exadataInfrastructureId
public VmCluster.Builder exadataInfrastructureId(String exadataInfrastructureId)
The OCID of the Exadata infrastructure.- Parameters:
exadataInfrastructureId
- the value to set- Returns:
- this builder
-
isSparseDiskgroupEnabled
public VmCluster.Builder isSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled)
If true, sparse disk group is configured for the VM cluster.If false, sparse disk group is not created.
- Parameters:
isSparseDiskgroupEnabled
- the value to set- Returns:
- this builder
-
vmClusterNetworkId
public VmCluster.Builder vmClusterNetworkId(String vmClusterNetworkId)
The OCID of the VM cluster network.- Parameters:
vmClusterNetworkId
- the value to set- Returns:
- this builder
-
cpusEnabled
public VmCluster.Builder cpusEnabled(Integer cpusEnabled)
The number of enabled CPU cores.- Parameters:
cpusEnabled
- the value to set- Returns:
- this builder
-
ocpusEnabled
public VmCluster.Builder ocpusEnabled(Float ocpusEnabled)
The number of enabled OCPU cores.- Parameters:
ocpusEnabled
- the value to set- Returns:
- this builder
-
memorySizeInGBs
public VmCluster.Builder memorySizeInGBs(Integer memorySizeInGBs)
The memory allocated in GBs.- Parameters:
memorySizeInGBs
- the value to set- Returns:
- this builder
-
dbNodeStorageSizeInGBs
public VmCluster.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The local node storage allocated in GBs.- Parameters:
dbNodeStorageSizeInGBs
- the value to set- Returns:
- this builder
-
dataStorageSizeInTBs
public VmCluster.Builder dataStorageSizeInTBs(Double dataStorageSizeInTBs)
Size, in terabytes, of the DATA disk group.- Parameters:
dataStorageSizeInTBs
- the value to set- Returns:
- this builder
-
dataStorageSizeInGBs
public VmCluster.Builder dataStorageSizeInGBs(Double dataStorageSizeInGBs)
Size of the DATA disk group in GBs.- Parameters:
dataStorageSizeInGBs
- the value to set- Returns:
- this builder
-
shape
public VmCluster.Builder shape(String shape)
The shape of the Exadata infrastructure.The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
- Parameters:
shape
- the value to set- Returns:
- this builder
-
giVersion
public VmCluster.Builder giVersion(String giVersion)
The Oracle Grid Infrastructure software version for the VM cluster.- Parameters:
giVersion
- the value to set- Returns:
- this builder
-
systemVersion
public VmCluster.Builder systemVersion(String systemVersion)
Operating system version of the image.- Parameters:
systemVersion
- the value to set- Returns:
- this builder
-
sshPublicKeys
public VmCluster.Builder sshPublicKeys(List<String> sshPublicKeys)
The public key portion of one or more key pairs used for SSH access to the VM cluster.- Parameters:
sshPublicKeys
- the value to set- Returns:
- this builder
-
licenseModel
public VmCluster.Builder licenseModel(VmCluster.LicenseModel licenseModel)
The Oracle license model that applies to the VM cluster.The default is LICENSE_INCLUDED.
- Parameters:
licenseModel
- the value to set- Returns:
- this builder
-
dbServers
public VmCluster.Builder dbServers(List<String> dbServers)
The list of Db server.- Parameters:
dbServers
- the value to set- Returns:
- this builder
-
availabilityDomain
public VmCluster.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain that the VM cluster is located in.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
freeformTags
public VmCluster.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public VmCluster.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
dataCollectionOptions
public VmCluster.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
-
giSoftwareImageId
public VmCluster.Builder giSoftwareImageId(String giSoftwareImageId)
The OCID of a grid infrastructure software image.This is a database software image of the type GRID_IMAGE.
- Parameters:
giSoftwareImageId
- the value to set- Returns:
- this builder
-
fileSystemConfigurationDetails
public VmCluster.Builder fileSystemConfigurationDetails(List<FileSystemConfigurationDetail> fileSystemConfigurationDetails)
Details of the file system configuration of the VM cluster.- Parameters:
fileSystemConfigurationDetails
- the value to set- Returns:
- this builder
-
vmClusterType
public VmCluster.Builder vmClusterType(VmCluster.VmClusterType vmClusterType)
The vmcluster type for the VM cluster/Cloud VM cluster.- Parameters:
vmClusterType
- the value to set- Returns:
- this builder
-
cloudAutomationUpdateDetails
public VmCluster.Builder cloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails)
-
exascaleDbStorageVaultId
public VmCluster.Builder exascaleDbStorageVaultId(String exascaleDbStorageVaultId)
The OCID of the Exadata Database Storage Vault.- Parameters:
exascaleDbStorageVaultId
- the value to set- Returns:
- this builder
-
storageManagementType
public VmCluster.Builder storageManagementType(VmCluster.StorageManagementType storageManagementType)
Specifies whether the type of storage management for the VM cluster is ASM or Exascale.- Parameters:
storageManagementType
- the value to set- Returns:
- this builder
-
computeModel
public VmCluster.Builder computeModel(VmCluster.ComputeModel computeModel)
The compute model of the Autonomous Database.This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
- Parameters:
computeModel
- the value to set- Returns:
- this builder
-
build
public VmCluster build()
-
copy
public VmCluster.Builder copy(VmCluster model)
-
-