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.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.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.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security Attributes for this resource.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)
-
-
-
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 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)
-
build
public UpdateCloudVmClusterDetails build()
-
copy
public UpdateCloudVmClusterDetails.Builder copy(UpdateCloudVmClusterDetails model)
-
-