Class UpdateCloudVmClusterDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.UpdateCloudVmClusterDetails.Builder
-
- Enclosing class:
- UpdateCloudVmClusterDetails
public static class UpdateCloudVmClusterDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCloudVmClusterDetails.BuilderbackupNetworkNsgIds(List<String> backupNetworkNsgIds)A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.UpdateCloudVmClusterDetailsbuild()UpdateCloudVmClusterDetails.BuildercloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails)UpdateCloudVmClusterDetails.BuildercomputeNodes(List<String> computeNodes)The list of compute servers to be added to the cloud VM cluster.UpdateCloudVmClusterDetails.Buildercopy(UpdateCloudVmClusterDetails model)UpdateCloudVmClusterDetails.BuildercpuCoreCount(Integer cpuCoreCount)For fixed shapes, this is the total number of OCPUs to enable across the VM cluster.UpdateCloudVmClusterDetails.BuilderdataCollectionOptions(DataCollectionOptions dataCollectionOptions)UpdateCloudVmClusterDetails.BuilderdataStoragePercentage(Integer dataStoragePercentage)The percentage assigned to DATA storage (user data and database files).UpdateCloudVmClusterDetails.BuilderdataStorageSizeInTBs(Double dataStorageSizeInTBs)The data disk group size to be allocated in TBs.UpdateCloudVmClusterDetails.BuilderdbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)The local node storage to be allocated in GBs.UpdateCloudVmClusterDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateCloudVmClusterDetails.BuilderdisplayName(String displayName)The user-friendly name for the cloud VM cluster.UpdateCloudVmClusterDetails.BuilderfileSystemConfigurationDetails(List<FileSystemConfigurationDetail> fileSystemConfigurationDetails)Details of the file system configuration of the VM cluster.UpdateCloudVmClusterDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateCloudVmClusterDetails.BuilderisLocalBackupEnabled(Boolean isLocalBackupEnabled)If true, database backup on local Exadata storage is configured for the cloud VM cluster.UpdateCloudVmClusterDetails.BuilderisSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled)If true, sparse disk group is configured for the cloud VM cluster.UpdateCloudVmClusterDetails.BuilderlicenseModel(UpdateCloudVmClusterDetails.LicenseModel licenseModel)The Oracle license model that applies to the cloud VM cluster.UpdateCloudVmClusterDetails.BuildermemorySizeInGBs(Integer memorySizeInGBs)The memory to be allocated in GBs.UpdateCloudVmClusterDetails.BuildernsgIds(List<String> nsgIds)The list of OCIDs for the network security groups (NSGs) to which this resource belongs.UpdateCloudVmClusterDetails.BuilderocpuCount(Float ocpuCount)The number of OCPU cores to enable for a cloud VM cluster.UpdateCloudVmClusterDetails.BuilderrecoStoragePercentage(Integer recoStoragePercentage)The percentage assigned to RECO storage (database redo logs, archive logs, and recovery manager backups).UpdateCloudVmClusterDetails.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security Attributes for this resource.UpdateCloudVmClusterDetails.BuildersparseStoragePercentage(Integer sparseStoragePercentage)The percentage assigned to SPARSE storage (Exadata snapshots).UpdateCloudVmClusterDetails.BuildersshPublicKeys(List<String> sshPublicKeys)The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.UpdateCloudVmClusterDetails.BuilderstorageSizeInGBs(Integer storageSizeInGBs)The disk group size to be allocated in GBs.UpdateCloudVmClusterDetails.BuilderupdateDetails(UpdateDetails updateDetails)UpdateCloudVmClusterDetails.BuildervmBackupStorageType(UpdateCloudVmClusterDetails.VmBackupStorageType vmBackupStorageType)Specifies the type of VM Backups Storage and supported values are LOCAL and EXASCALE.
-
-
-
Method Detail
-
displayName
public UpdateCloudVmClusterDetails.Builder displayName(String displayName)
The user-friendly name for the cloud VM cluster.The name does not need to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
cpuCoreCount
public UpdateCloudVmClusterDetails.Builder cpuCoreCount(Integer cpuCoreCount)
For fixed shapes, this is the total number of OCPUs to enable across the VM cluster.- Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84. - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168. - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336. - Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92. - Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184. - Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368. - Exadata.Quarter3.100 - Specify a multiple of 2, from 0 to 100. - Exadata.Half3.200 - Specify a multiple of 4, from 0 to 200. - Exadata.Full3.400 - Specify a multiple of 8, from 0 to 400.
The API specification for fixed shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary
For flexible shapes X8M and X9M, this is the total number of OCPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure.
- Exadata.X8M - Specify a multiple of 2, from 2 to 50 per X8M database server. - Exadata.X9M - Specify a multiple of 2, from 2 to 126 per X9M database server.
For flexible shapes X11M and higher, this is the total number of ECPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure.
- Exadata.X11M - Specify a multiple of 8, from 8 to 760 per X11M database server.
The API specification for flexible shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/FlexComponentSummary
- Parameters:
cpuCoreCount- the value to set- Returns:
- this builder
-
ocpuCount
public UpdateCloudVmClusterDetails.Builder ocpuCount(Float ocpuCount)
The number of OCPU cores to enable for a cloud VM cluster.Only 1 decimal place is allowed for the fractional part.
- Parameters:
ocpuCount- the value to set- Returns:
- this builder
-
memorySizeInGBs
public UpdateCloudVmClusterDetails.Builder memorySizeInGBs(Integer memorySizeInGBs)
The memory to be allocated in GBs.- Parameters:
memorySizeInGBs- the value to set- Returns:
- this builder
-
dbNodeStorageSizeInGBs
public UpdateCloudVmClusterDetails.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The local node storage to be allocated in GBs.- Parameters:
dbNodeStorageSizeInGBs- the value to set- Returns:
- this builder
-
dataStorageSizeInTBs
public UpdateCloudVmClusterDetails.Builder dataStorageSizeInTBs(Double dataStorageSizeInTBs)
The data disk group size to be allocated in TBs.- Parameters:
dataStorageSizeInTBs- the value to set- Returns:
- this builder
-
licenseModel
public UpdateCloudVmClusterDetails.Builder licenseModel(UpdateCloudVmClusterDetails.LicenseModel licenseModel)
The Oracle license model that applies to the cloud VM cluster.The default is BRING_YOUR_OWN_LICENSE. Applies to Exadata Cloud Service instances only.
- Parameters:
licenseModel- the value to set- Returns:
- this builder
-
sshPublicKeys
public UpdateCloudVmClusterDetails.Builder sshPublicKeys(List<String> sshPublicKeys)
The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.- Parameters:
sshPublicKeys- the value to set- Returns:
- this builder
-
updateDetails
public UpdateCloudVmClusterDetails.Builder updateDetails(UpdateDetails updateDetails)
-
nsgIds
public UpdateCloudVmClusterDetails.Builder nsgIds(List<String> nsgIds)
The list of OCIDs for the network security groups (NSGs) to which this resource belongs.Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions: - A network security group (NSG) is optional for Autonomous AI Databases with private access. The nsgIds list can be empty.
- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
backupNetworkNsgIds
public UpdateCloudVmClusterDetails.Builder backupNetworkNsgIds(List<String> backupNetworkNsgIds)
A list of the OCIDs of the network security groups (NSGs) that the backup network of this DB system belongs to.Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules. Applicable only to Exadata systems.
- Parameters:
backupNetworkNsgIds- the value to set- Returns:
- this builder
-
computeNodes
public UpdateCloudVmClusterDetails.Builder computeNodes(List<String> computeNodes)
The list of compute servers to be added to the cloud VM cluster.- Parameters:
computeNodes- the value to set- Returns:
- this builder
-
storageSizeInGBs
public UpdateCloudVmClusterDetails.Builder storageSizeInGBs(Integer storageSizeInGBs)
The disk group size to be allocated in GBs.- Parameters:
storageSizeInGBs- the value to set- Returns:
- this builder
-
freeformTags
public UpdateCloudVmClusterDetails.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 UpdateCloudVmClusterDetails.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
-
securityAttributes
public UpdateCloudVmClusterDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}}
- Parameters:
securityAttributes- the value to set- Returns:
- this builder
-
dataCollectionOptions
public UpdateCloudVmClusterDetails.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
-
fileSystemConfigurationDetails
public UpdateCloudVmClusterDetails.Builder fileSystemConfigurationDetails(List<FileSystemConfigurationDetail> fileSystemConfigurationDetails)
Details of the file system configuration of the VM cluster.- Parameters:
fileSystemConfigurationDetails- the value to set- Returns:
- this builder
-
cloudAutomationUpdateDetails
public UpdateCloudVmClusterDetails.Builder cloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails)
-
vmBackupStorageType
public UpdateCloudVmClusterDetails.Builder vmBackupStorageType(UpdateCloudVmClusterDetails.VmBackupStorageType vmBackupStorageType)
Specifies the type of VM Backups Storage and supported values are LOCAL and EXASCALE.Storage Type can only be changed once from LOCAL to EXASCALE. EXASCALE to LOCAL is not permitted.
- Parameters:
vmBackupStorageType- the value to set- Returns:
- this builder
-
dataStoragePercentage
public UpdateCloudVmClusterDetails.Builder dataStoragePercentage(Integer dataStoragePercentage)
The percentage assigned to DATA storage (user data and database files).See Storage Configuration in the Exadata documentation for details on the impact of the configuration settings on storage.
- Parameters:
dataStoragePercentage- the value to set- Returns:
- this builder
-
recoStoragePercentage
public UpdateCloudVmClusterDetails.Builder recoStoragePercentage(Integer recoStoragePercentage)
The percentage assigned to RECO storage (database redo logs, archive logs, and recovery manager backups).See Storage Configuration in the Exadata documentation for details on the impact of the configuration settings on storage.
- Parameters:
recoStoragePercentage- the value to set- Returns:
- this builder
-
sparseStoragePercentage
public UpdateCloudVmClusterDetails.Builder sparseStoragePercentage(Integer sparseStoragePercentage)
The percentage assigned to SPARSE storage (Exadata snapshots).See Storage Configuration in the Exadata documentation for details on the impact of the configuration settings on storage.
- Parameters:
sparseStoragePercentage- the value to set- Returns:
- this builder
-
isLocalBackupEnabled
public UpdateCloudVmClusterDetails.Builder isLocalBackupEnabled(Boolean isLocalBackupEnabled)
If true, database backup on local Exadata storage is configured for the cloud VM cluster.If false, database backup on local Exadata storage is not available in the cloud VM cluster.
- Parameters:
isLocalBackupEnabled- the value to set- Returns:
- this builder
-
isSparseDiskgroupEnabled
public UpdateCloudVmClusterDetails.Builder isSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled)
If true, sparse disk group is configured for the cloud VM cluster.If false, sparse disk group is not created.
- Parameters:
isSparseDiskgroupEnabled- the value to set- Returns:
- this builder
-
build
public UpdateCloudVmClusterDetails build()
-
copy
public UpdateCloudVmClusterDetails.Builder copy(UpdateCloudVmClusterDetails model)
-
-