Class AutonomousVmCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.AutonomousVmCluster.Builder
-
- Enclosing class:
- AutonomousVmCluster
public static class AutonomousVmCluster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutonomousVmCluster.Builder
autonomousDataStoragePercentage(Float autonomousDataStoragePercentage)
The percentage of the data storage used for the Autonomous Databases in an Autonomous VM Cluster.AutonomousVmCluster.Builder
autonomousDataStorageSizeInTBs(Double autonomousDataStorageSizeInTBs)
The data disk group size allocated for Autonomous Databases, in TBs.AutonomousVmCluster.Builder
availableAutonomousDataStorageSizeInTBs(Double availableAutonomousDataStorageSizeInTBs)
The data disk group size available for Autonomous Databases, in TBs.AutonomousVmCluster.Builder
availableContainerDatabases(Integer availableContainerDatabases)
The number of Autonomous Container Databases that can be created with the currently available local storage.AutonomousVmCluster.Builder
availableCpus(Integer availableCpus)
The numnber of CPU cores available.AutonomousVmCluster.Builder
availableDataStorageSizeInTBs(Double availableDataStorageSizeInTBs)
Deprecated. Use availableAutonomousDataStorageSizeInTBs for Autonomous Databases’ data storage availability in TBs.AutonomousVmCluster
build()
AutonomousVmCluster.Builder
compartmentId(String compartmentId)
The OCID of the compartment.AutonomousVmCluster.Builder
computeModel(AutonomousVmCluster.ComputeModel computeModel)
The compute model of the Autonomous VM Cluster.AutonomousVmCluster.Builder
copy(AutonomousVmCluster model)
AutonomousVmCluster.Builder
cpuCoreCountPerNode(Integer cpuCoreCountPerNode)
The number of CPU cores enabled per VM cluster node.AutonomousVmCluster.Builder
cpuPercentage(Float cpuPercentage)
The percentage of total number of CPUs used in an Autonomous VM Cluster.AutonomousVmCluster.Builder
cpusEnabled(Integer cpusEnabled)
The number of enabled CPU cores.AutonomousVmCluster.Builder
cpusLowestScaledValue(Integer cpusLowestScaledValue)
The lowest value to which cpus can be scaled down.AutonomousVmCluster.Builder
dataStorageSizeInGBs(Double dataStorageSizeInGBs)
The total data storage allocated in GBs.AutonomousVmCluster.Builder
dataStorageSizeInTBs(Double dataStorageSizeInTBs)
The total data storage allocated in TBsAutonomousVmCluster.Builder
dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The local node storage allocated in GBs.AutonomousVmCluster.Builder
dbServers(List<String> dbServers)
The list of OCIDs of the Db servers.AutonomousVmCluster.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.AutonomousVmCluster.Builder
displayName(String displayName)
The user-friendly name for the Autonomous VM cluster.AutonomousVmCluster.Builder
exadataInfrastructureId(String exadataInfrastructureId)
The OCID of the Exadata infrastructure.AutonomousVmCluster.Builder
exadataStorageInTBsLowestScaledValue(Double exadataStorageInTBsLowestScaledValue)
The lowest value to which exadataStorage(in TBs) can be scaled down.AutonomousVmCluster.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.AutonomousVmCluster.Builder
id(String id)
The OCID of the Autonomous VM cluster.AutonomousVmCluster.Builder
isLocalBackupEnabled(Boolean isLocalBackupEnabled)
If true, database backup on local Exadata storage is configured for the Autonomous VM cluster.AutonomousVmCluster.Builder
isMtlsEnabled(Boolean isMtlsEnabled)
Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster.AutonomousVmCluster.Builder
lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the last maintenance run.AutonomousVmCluster.Builder
licenseModel(AutonomousVmCluster.LicenseModel licenseModel)
The Oracle license model that applies to the Autonomous VM cluster.AutonomousVmCluster.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.AutonomousVmCluster.Builder
lifecycleState(AutonomousVmCluster.LifecycleState lifecycleState)
The current state of the Autonomous VM cluster.AutonomousVmCluster.Builder
maintenanceWindow(MaintenanceWindow maintenanceWindow)
AutonomousVmCluster.Builder
maxAcdsLowestScaledValue(Integer maxAcdsLowestScaledValue)
The lowest value to which maximum number of ACDs can be scaled down.AutonomousVmCluster.Builder
memoryPerOracleComputeUnitInGBs(Integer memoryPerOracleComputeUnitInGBs)
The amount of memory (in GBs) to be enabled per OCPU or ECPU.AutonomousVmCluster.Builder
memorySizeInGBs(Integer memorySizeInGBs)
The memory allocated in GBs.AutonomousVmCluster.Builder
nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the next maintenance run.AutonomousVmCluster.Builder
nodeCount(Integer nodeCount)
The number of nodes in the Autonomous VM Cluster.AutonomousVmCluster.Builder
nonProvisionableAutonomousContainerDatabases(Integer nonProvisionableAutonomousContainerDatabases)
The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.AutonomousVmCluster.Builder
ocpusEnabled(Float ocpusEnabled)
The number of enabled OCPU cores.AutonomousVmCluster.Builder
provisionableAutonomousContainerDatabases(Integer provisionableAutonomousContainerDatabases)
Deprecated. Use field totalContainerDatabases.AutonomousVmCluster.Builder
provisionedAutonomousContainerDatabases(Integer provisionedAutonomousContainerDatabases)
The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.AutonomousVmCluster.Builder
provisionedCpus(Float provisionedCpus)
The number of CPUs provisioned in an Autonomous VM Cluster.AutonomousVmCluster.Builder
reclaimableCpus(Integer reclaimableCpus)
CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down.AutonomousVmCluster.Builder
reservedCpus(Float reservedCpus)
The number of CPUs reserved in an Autonomous VM Cluster.AutonomousVmCluster.Builder
scanListenerPortNonTls(Integer scanListenerPortNonTls)
The SCAN Listener Non TLS port number.AutonomousVmCluster.Builder
scanListenerPortTls(Integer scanListenerPortTls)
The SCAN Listener TLS port number.AutonomousVmCluster.Builder
timeCreated(Date timeCreated)
The date and time that the Autonomous VM cluster was created.AutonomousVmCluster.Builder
timeDatabaseSslCertificateExpires(Date timeDatabaseSslCertificateExpires)
The date and time of the Database SSL certificate expiration.AutonomousVmCluster.Builder
timeOrdsCertificateExpires(Date timeOrdsCertificateExpires)
The date and time of the ORDS certificate expiration.AutonomousVmCluster.Builder
timeZone(String timeZone)
The time zone to use for the Autonomous VM cluster.AutonomousVmCluster.Builder
totalAutonomousDataStorageInTBs(Float totalAutonomousDataStorageInTBs)
The total data disk group size for Autonomous Databases, in TBs.AutonomousVmCluster.Builder
totalContainerDatabases(Integer totalContainerDatabases)
The total number of Autonomous Container Databases that can be created.AutonomousVmCluster.Builder
vmClusterNetworkId(String vmClusterNetworkId)
The OCID of the VM cluster network.
-
-
-
Method Detail
-
id
public AutonomousVmCluster.Builder id(String id)
The OCID of the Autonomous VM cluster.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public AutonomousVmCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public AutonomousVmCluster.Builder displayName(String displayName)
The user-friendly name for the Autonomous VM cluster.The name does not need to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public AutonomousVmCluster.Builder timeCreated(Date timeCreated)
The date and time that the Autonomous VM cluster was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public AutonomousVmCluster.Builder lifecycleState(AutonomousVmCluster.LifecycleState lifecycleState)
The current state of the Autonomous VM cluster.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public AutonomousVmCluster.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeZone
public AutonomousVmCluster.Builder timeZone(String timeZone)
The time zone to use for the Autonomous VM cluster.For details, see DB System Time Zones.
- Parameters:
timeZone
- the value to set- Returns:
- this builder
-
exadataInfrastructureId
public AutonomousVmCluster.Builder exadataInfrastructureId(String exadataInfrastructureId)
The OCID of the Exadata infrastructure.- Parameters:
exadataInfrastructureId
- the value to set- Returns:
- this builder
-
vmClusterNetworkId
public AutonomousVmCluster.Builder vmClusterNetworkId(String vmClusterNetworkId)
The OCID of the VM cluster network.- Parameters:
vmClusterNetworkId
- the value to set- Returns:
- this builder
-
isLocalBackupEnabled
public AutonomousVmCluster.Builder isLocalBackupEnabled(Boolean isLocalBackupEnabled)
If true, database backup on local Exadata storage is configured for the Autonomous VM cluster.If false, database backup on local Exadata storage is not available in the Autonomous VM cluster.
- Parameters:
isLocalBackupEnabled
- the value to set- Returns:
- this builder
-
cpusEnabled
public AutonomousVmCluster.Builder cpusEnabled(Integer cpusEnabled)
The number of enabled CPU cores.- Parameters:
cpusEnabled
- the value to set- Returns:
- this builder
-
computeModel
public AutonomousVmCluster.Builder computeModel(AutonomousVmCluster.ComputeModel computeModel)
The compute model of the Autonomous VM Cluster.ECPU compute model is the recommended model and OCPU compute model is legacy. See Compute Models in Autonomous Database on Dedicated Exadata #Infrastructure for more details.
- Parameters:
computeModel
- the value to set- Returns:
- this builder
-
ocpusEnabled
public AutonomousVmCluster.Builder ocpusEnabled(Float ocpusEnabled)
The number of enabled OCPU cores.- Parameters:
ocpusEnabled
- the value to set- Returns:
- this builder
-
availableCpus
public AutonomousVmCluster.Builder availableCpus(Integer availableCpus)
The numnber of CPU cores available.- Parameters:
availableCpus
- the value to set- Returns:
- this builder
-
totalContainerDatabases
public AutonomousVmCluster.Builder totalContainerDatabases(Integer totalContainerDatabases)
The total number of Autonomous Container Databases that can be created.- Parameters:
totalContainerDatabases
- the value to set- Returns:
- this builder
-
memoryPerOracleComputeUnitInGBs
public AutonomousVmCluster.Builder memoryPerOracleComputeUnitInGBs(Integer memoryPerOracleComputeUnitInGBs)
The amount of memory (in GBs) to be enabled per OCPU or ECPU.- Parameters:
memoryPerOracleComputeUnitInGBs
- the value to set- Returns:
- this builder
-
cpuCoreCountPerNode
public AutonomousVmCluster.Builder cpuCoreCountPerNode(Integer cpuCoreCountPerNode)
The number of CPU cores enabled per VM cluster node.- Parameters:
cpuCoreCountPerNode
- the value to set- Returns:
- this builder
-
autonomousDataStorageSizeInTBs
public AutonomousVmCluster.Builder autonomousDataStorageSizeInTBs(Double autonomousDataStorageSizeInTBs)
The data disk group size allocated for Autonomous Databases, in TBs.- Parameters:
autonomousDataStorageSizeInTBs
- the value to set- Returns:
- this builder
-
maintenanceWindow
public AutonomousVmCluster.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
-
lastMaintenanceRunId
public AutonomousVmCluster.Builder lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the last maintenance run.- Parameters:
lastMaintenanceRunId
- the value to set- Returns:
- this builder
-
nextMaintenanceRunId
public AutonomousVmCluster.Builder nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the next maintenance run.- Parameters:
nextMaintenanceRunId
- the value to set- Returns:
- this builder
-
cpuPercentage
public AutonomousVmCluster.Builder cpuPercentage(Float cpuPercentage)
The percentage of total number of CPUs used in an Autonomous VM Cluster.- Parameters:
cpuPercentage
- the value to set- Returns:
- this builder
-
autonomousDataStoragePercentage
public AutonomousVmCluster.Builder autonomousDataStoragePercentage(Float autonomousDataStoragePercentage)
The percentage of the data storage used for the Autonomous Databases in an Autonomous VM Cluster.- Parameters:
autonomousDataStoragePercentage
- the value to set- Returns:
- this builder
-
provisionedCpus
public AutonomousVmCluster.Builder provisionedCpus(Float provisionedCpus)
The number of CPUs provisioned in an Autonomous VM Cluster.- Parameters:
provisionedCpus
- the value to set- Returns:
- this builder
-
totalAutonomousDataStorageInTBs
public AutonomousVmCluster.Builder totalAutonomousDataStorageInTBs(Float totalAutonomousDataStorageInTBs)
The total data disk group size for Autonomous Databases, in TBs.- Parameters:
totalAutonomousDataStorageInTBs
- the value to set- Returns:
- this builder
-
reservedCpus
public AutonomousVmCluster.Builder reservedCpus(Float reservedCpus)
The number of CPUs reserved in an Autonomous VM Cluster.- Parameters:
reservedCpus
- the value to set- Returns:
- this builder
-
provisionableAutonomousContainerDatabases
public AutonomousVmCluster.Builder provisionableAutonomousContainerDatabases(Integer provisionableAutonomousContainerDatabases)
Deprecated. Use field totalContainerDatabases.- Parameters:
provisionableAutonomousContainerDatabases
- the value to set- Returns:
- this builder
-
provisionedAutonomousContainerDatabases
public AutonomousVmCluster.Builder provisionedAutonomousContainerDatabases(Integer provisionedAutonomousContainerDatabases)
The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.- Parameters:
provisionedAutonomousContainerDatabases
- the value to set- Returns:
- this builder
-
nonProvisionableAutonomousContainerDatabases
public AutonomousVmCluster.Builder nonProvisionableAutonomousContainerDatabases(Integer nonProvisionableAutonomousContainerDatabases)
The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.- Parameters:
nonProvisionableAutonomousContainerDatabases
- the value to set- Returns:
- this builder
-
memorySizeInGBs
public AutonomousVmCluster.Builder memorySizeInGBs(Integer memorySizeInGBs)
The memory allocated in GBs.- Parameters:
memorySizeInGBs
- the value to set- Returns:
- this builder
-
dbNodeStorageSizeInGBs
public AutonomousVmCluster.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The local node storage allocated in GBs.- Parameters:
dbNodeStorageSizeInGBs
- the value to set- Returns:
- this builder
-
dataStorageSizeInTBs
public AutonomousVmCluster.Builder dataStorageSizeInTBs(Double dataStorageSizeInTBs)
The total data storage allocated in TBs- Parameters:
dataStorageSizeInTBs
- the value to set- Returns:
- this builder
-
dataStorageSizeInGBs
public AutonomousVmCluster.Builder dataStorageSizeInGBs(Double dataStorageSizeInGBs)
The total data storage allocated in GBs.- Parameters:
dataStorageSizeInGBs
- the value to set- Returns:
- this builder
-
availableDataStorageSizeInTBs
public AutonomousVmCluster.Builder availableDataStorageSizeInTBs(Double availableDataStorageSizeInTBs)
Deprecated. Use availableAutonomousDataStorageSizeInTBs for Autonomous Databases’ data storage availability in TBs.- Parameters:
availableDataStorageSizeInTBs
- the value to set- Returns:
- this builder
-
nodeCount
public AutonomousVmCluster.Builder nodeCount(Integer nodeCount)
The number of nodes in the Autonomous VM Cluster.- Parameters:
nodeCount
- the value to set- Returns:
- this builder
-
licenseModel
public AutonomousVmCluster.Builder licenseModel(AutonomousVmCluster.LicenseModel licenseModel)
The Oracle license model that applies to the Autonomous VM cluster.The default is LICENSE_INCLUDED.
- Parameters:
licenseModel
- the value to set- Returns:
- this builder
-
freeformTags
public AutonomousVmCluster.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 AutonomousVmCluster.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
-
dbServers
public AutonomousVmCluster.Builder dbServers(List<String> dbServers)
The list of OCIDs of the Db servers.- Parameters:
dbServers
- the value to set- Returns:
- this builder
-
reclaimableCpus
public AutonomousVmCluster.Builder reclaimableCpus(Integer reclaimableCpus)
CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down.You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
- Parameters:
reclaimableCpus
- the value to set- Returns:
- this builder
-
availableContainerDatabases
public AutonomousVmCluster.Builder availableContainerDatabases(Integer availableContainerDatabases)
The number of Autonomous Container Databases that can be created with the currently available local storage.- Parameters:
availableContainerDatabases
- the value to set- Returns:
- this builder
-
availableAutonomousDataStorageSizeInTBs
public AutonomousVmCluster.Builder availableAutonomousDataStorageSizeInTBs(Double availableAutonomousDataStorageSizeInTBs)
The data disk group size available for Autonomous Databases, in TBs.- Parameters:
availableAutonomousDataStorageSizeInTBs
- the value to set- Returns:
- this builder
-
scanListenerPortTls
public AutonomousVmCluster.Builder scanListenerPortTls(Integer scanListenerPortTls)
The SCAN Listener TLS port number.Default value is 2484.
- Parameters:
scanListenerPortTls
- the value to set- Returns:
- this builder
-
scanListenerPortNonTls
public AutonomousVmCluster.Builder scanListenerPortNonTls(Integer scanListenerPortNonTls)
The SCAN Listener Non TLS port number.Default value is 1521.
- Parameters:
scanListenerPortNonTls
- the value to set- Returns:
- this builder
-
isMtlsEnabled
public AutonomousVmCluster.Builder isMtlsEnabled(Boolean isMtlsEnabled)
Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster.Default is TLS.
- Parameters:
isMtlsEnabled
- the value to set- Returns:
- this builder
-
timeDatabaseSslCertificateExpires
public AutonomousVmCluster.Builder timeDatabaseSslCertificateExpires(Date timeDatabaseSslCertificateExpires)
The date and time of the Database SSL certificate expiration.- Parameters:
timeDatabaseSslCertificateExpires
- the value to set- Returns:
- this builder
-
timeOrdsCertificateExpires
public AutonomousVmCluster.Builder timeOrdsCertificateExpires(Date timeOrdsCertificateExpires)
The date and time of the ORDS certificate expiration.- Parameters:
timeOrdsCertificateExpires
- the value to set- Returns:
- this builder
-
exadataStorageInTBsLowestScaledValue
public AutonomousVmCluster.Builder exadataStorageInTBsLowestScaledValue(Double exadataStorageInTBsLowestScaledValue)
The lowest value to which exadataStorage(in TBs) can be scaled down.- Parameters:
exadataStorageInTBsLowestScaledValue
- the value to set- Returns:
- this builder
-
cpusLowestScaledValue
public AutonomousVmCluster.Builder cpusLowestScaledValue(Integer cpusLowestScaledValue)
The lowest value to which cpus can be scaled down.- Parameters:
cpusLowestScaledValue
- the value to set- Returns:
- this builder
-
maxAcdsLowestScaledValue
public AutonomousVmCluster.Builder maxAcdsLowestScaledValue(Integer maxAcdsLowestScaledValue)
The lowest value to which maximum number of ACDs can be scaled down.- Parameters:
maxAcdsLowestScaledValue
- the value to set- Returns:
- this builder
-
build
public AutonomousVmCluster build()
-
copy
public AutonomousVmCluster.Builder copy(AutonomousVmCluster model)
-
-