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.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.UpdateCloudVmClusterDetails
build()
UpdateCloudVmClusterDetails.Builder
cloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails)
UpdateCloudVmClusterDetails.Builder
computeNodes(List<String> computeNodes)
The list of compute servers to be added to the cloud VM cluster.UpdateCloudVmClusterDetails.Builder
copy(UpdateCloudVmClusterDetails model)
UpdateCloudVmClusterDetails.Builder
cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores to enable for the cloud VM cluster.UpdateCloudVmClusterDetails.Builder
dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
UpdateCloudVmClusterDetails.Builder
dataStorageSizeInTBs(Double dataStorageSizeInTBs)
The data disk group size to be allocated in TBs.UpdateCloudVmClusterDetails.Builder
dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The local node storage to be allocated in GBs.UpdateCloudVmClusterDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateCloudVmClusterDetails.Builder
displayName(String displayName)
The user-friendly name for the cloud VM cluster.UpdateCloudVmClusterDetails.Builder
fileSystemConfigurationDetails(List<FileSystemConfigurationDetail> fileSystemConfigurationDetails)
Details of the file system configuration of the VM cluster.UpdateCloudVmClusterDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateCloudVmClusterDetails.Builder
licenseModel(UpdateCloudVmClusterDetails.LicenseModel licenseModel)
The Oracle license model that applies to the cloud VM cluster.UpdateCloudVmClusterDetails.Builder
memorySizeInGBs(Integer memorySizeInGBs)
The memory to be allocated in GBs.UpdateCloudVmClusterDetails.Builder
nsgIds(List<String> nsgIds)
The list of OCIDs for the network security groups (NSGs) to which this resource belongs.UpdateCloudVmClusterDetails.Builder
ocpuCount(Float ocpuCount)
The number of OCPU cores to enable for a cloud VM cluster.UpdateCloudVmClusterDetails.Builder
securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource.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.UpdateCloudVmClusterDetails.Builder
storageSizeInGBs(Integer storageSizeInGBs)
The disk group size to be allocated in GBs.UpdateCloudVmClusterDetails.Builder
updateDetails(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)
The number of CPU cores to enable for the cloud VM cluster.- 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)
-
-