Package com.oracle.bmc.database.model
Class UpdateVmClusterDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.UpdateVmClusterDetails.Builder
-
- Enclosing class:
- UpdateVmClusterDetails
public static class UpdateVmClusterDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
cpuCoreCount
public UpdateVmClusterDetails.Builder cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores to enable for the VM cluster.- Parameters:
cpuCoreCount- the value to set- Returns:
- this builder
-
ocpuCount
public UpdateVmClusterDetails.Builder ocpuCount(Float ocpuCount)
The number of OCPU cores to enable for the VM cluster.Only 1 decimal place is allowed for the fractional part.
- Parameters:
ocpuCount- the value to set- Returns:
- this builder
-
memorySizeInGBs
public UpdateVmClusterDetails.Builder memorySizeInGBs(Integer memorySizeInGBs)
The memory to be allocated in GBs.- Parameters:
memorySizeInGBs- the value to set- Returns:
- this builder
-
dbNodeStorageSizeInGBs
public UpdateVmClusterDetails.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The local node storage to be allocated in GBs.- Parameters:
dbNodeStorageSizeInGBs- the value to set- Returns:
- this builder
-
dataStorageSizeInTBs
public UpdateVmClusterDetails.Builder dataStorageSizeInTBs(Double dataStorageSizeInTBs)
The data disk group size to be allocated in TBs.- Parameters:
dataStorageSizeInTBs- the value to set- Returns:
- this builder
-
dataStorageSizeInGBs
public UpdateVmClusterDetails.Builder dataStorageSizeInGBs(Double dataStorageSizeInGBs)
The data disk group size to be allocated in GBs.- Parameters:
dataStorageSizeInGBs- the value to set- Returns:
- this builder
-
licenseModel
public UpdateVmClusterDetails.Builder licenseModel(UpdateVmClusterDetails.LicenseModel licenseModel)
The Oracle license model that applies to the VM cluster.The default is BRING_YOUR_OWN_LICENSE.
- Parameters:
licenseModel- the value to set- Returns:
- this builder
-
sshPublicKeys
public UpdateVmClusterDetails.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
-
version
public UpdateVmClusterDetails.Builder version(PatchDetails version)
-
updateDetails
public UpdateVmClusterDetails.Builder updateDetails(VmClusterUpdateDetails updateDetails)
-
freeformTags
public UpdateVmClusterDetails.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 UpdateVmClusterDetails.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 UpdateVmClusterDetails.Builder dataCollectionOptions(DataCollectionOptions dataCollectionOptions)
-
fileSystemConfigurationDetails
public UpdateVmClusterDetails.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 UpdateVmClusterDetails.Builder cloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails)
-
vmBackupStorageType
public UpdateVmClusterDetails.Builder vmBackupStorageType(UpdateVmClusterDetails.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
-
build
public UpdateVmClusterDetails build()
-
copy
public UpdateVmClusterDetails.Builder copy(UpdateVmClusterDetails model)
-
-