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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateVmClusterDetailsbuild()UpdateVmClusterDetails.BuildercloudAutomationUpdateDetails(CloudAutomationUpdateDetails cloudAutomationUpdateDetails)UpdateVmClusterDetails.Buildercopy(UpdateVmClusterDetails model)UpdateVmClusterDetails.BuildercpuCoreCount(Integer cpuCoreCount)The number of CPU cores to enable for the VM cluster.UpdateVmClusterDetails.BuilderdataCollectionOptions(DataCollectionOptions dataCollectionOptions)UpdateVmClusterDetails.BuilderdataStoragePercentage(Integer dataStoragePercentage)The percentage assigned to DATA storage (user data and database files).UpdateVmClusterDetails.BuilderdataStorageSizeInGBs(Double dataStorageSizeInGBs)The data disk group size to be allocated in GBs.UpdateVmClusterDetails.BuilderdataStorageSizeInTBs(Double dataStorageSizeInTBs)The data disk group size to be allocated in TBs.UpdateVmClusterDetails.BuilderdbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)The local node storage to be allocated in GBs.UpdateVmClusterDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateVmClusterDetails.BuilderfileSystemConfigurationDetails(List<FileSystemConfigurationDetail> fileSystemConfigurationDetails)Details of the file system configuration of the VM cluster.UpdateVmClusterDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateVmClusterDetails.BuilderisLocalBackupEnabled(Boolean isLocalBackupEnabled)If true, database backup on local Exadata storage is configured for the VM cluster.UpdateVmClusterDetails.BuilderisSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled)If true, sparse disk group is configured for the VM cluster.UpdateVmClusterDetails.BuilderlicenseModel(UpdateVmClusterDetails.LicenseModel licenseModel)The Oracle license model that applies to the VM cluster.UpdateVmClusterDetails.BuildermemorySizeInGBs(Integer memorySizeInGBs)The memory to be allocated in GBs.UpdateVmClusterDetails.BuilderocpuCount(Float ocpuCount)The number of OCPU cores to enable for the VM cluster.UpdateVmClusterDetails.BuilderrecoStoragePercentage(Integer recoStoragePercentage)The percentage assigned to RECO storage (database redo logs, archive logs, and recovery manager backups).UpdateVmClusterDetails.BuildersparseStoragePercentage(Integer sparseStoragePercentage)The percentage assigned to SPARSE storage (Exadata snapshots).UpdateVmClusterDetails.BuildersshPublicKeys(List<String> sshPublicKeys)The public key portion of one or more key pairs used for SSH access to the VM cluster.UpdateVmClusterDetails.BuilderupdateDetails(VmClusterUpdateDetails updateDetails)UpdateVmClusterDetails.Builderversion(PatchDetails version)UpdateVmClusterDetails.BuildervmBackupStorageType(UpdateVmClusterDetails.VmBackupStorageType vmBackupStorageType)Specifies the type of VM Backups Storage and supported values are LOCAL and EXASCALE.
-
-
-
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
-
dataStoragePercentage
public UpdateVmClusterDetails.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 UpdateVmClusterDetails.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 UpdateVmClusterDetails.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 UpdateVmClusterDetails.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
-
isSparseDiskgroupEnabled
public UpdateVmClusterDetails.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
-
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)
-
-