public static class AutonomousContainerDatabase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutonomousContainerDatabase.Builder |
autonomousExadataInfrastructureId(String autonomousExadataInfrastructureId)
No longer used. For Autonomous Database on dedicated Exadata infrastructure, the
container database is created within a specified
cloudAutonomousVmCluster . |
AutonomousContainerDatabase.Builder |
autonomousVmClusterId(String autonomousVmClusterId)
The OCID of the Autonomous VM Cluster.
|
AutonomousContainerDatabase.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
availableCpus(Float availableCpus)
Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in
the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
backupConfig(AutonomousContainerDatabaseBackupConfig backupConfig) |
AutonomousContainerDatabase |
build() |
AutonomousContainerDatabase.Builder |
cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId)
The OCID of the
cloud Autonomous Exadata VM Cluster.
|
AutonomousContainerDatabase.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
AutonomousContainerDatabase.Builder |
computeModel(AutonomousContainerDatabase.ComputeModel computeModel)
The compute model of the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
copy(AutonomousContainerDatabase model) |
AutonomousContainerDatabase.Builder |
dbName(String dbName)
The Database name for the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
dbSplitThreshold(Integer dbSplitThreshold)
The CPU value beyond which an Autonomous Database will be opened across multiple nodes.
|
AutonomousContainerDatabase.Builder |
dbUniqueName(String dbUniqueName)
Deprecated. The
DB_UNIQUE_NAME value is set by Oracle Cloud Infrastructure. |
AutonomousContainerDatabase.Builder |
dbVersion(String dbVersion)
Oracle Database version of the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AutonomousContainerDatabase.Builder |
displayName(String displayName)
The user-provided name for the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
distributionAffinity(AutonomousContainerDatabase.DistributionAffinity distributionAffinity)
Determines whether an Autonomous Database must be opened across the maximum number of
nodes or the least number of nodes.
|
AutonomousContainerDatabase.Builder |
dstFileVersion(String dstFileVersion)
DST Time-Zone File version of the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
AutonomousContainerDatabase.Builder |
id(String id)
The OCID of the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
infrastructureType(AutonomousContainerDatabase.InfrastructureType infrastructureType)
The infrastructure type this resource belongs to.
|
AutonomousContainerDatabase.Builder |
isDstFileUpdateEnabled(Boolean isDstFileUpdateEnabled)
Indicates if an automatic DST Time Zone file update is enabled for the Autonomous
Container Database.
|
AutonomousContainerDatabase.Builder |
keyHistoryEntry(List<AutonomousDatabaseKeyHistoryEntry> keyHistoryEntry)
Key History Entry.
|
AutonomousContainerDatabase.Builder |
keyStoreId(String keyStoreId)
The OCID of the
key store of Oracle Vault.
|
AutonomousContainerDatabase.Builder |
keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
|
AutonomousContainerDatabase.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database
transparent data encryption (TDE) operations.
|
AutonomousContainerDatabase.Builder |
kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the key container version that is used in database transparent data
encryption (TDE) operations KMS Key can have multiple key versions.
|
AutonomousContainerDatabase.Builder |
largestProvisionableAutonomousDatabaseInCpus(Float largestProvisionableAutonomousDatabaseInCpus)
The largest Autonomous Database (CPU) that can be created in a new Autonomous Container
Database.
|
AutonomousContainerDatabase.Builder |
lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the
last maintenance run.
|
AutonomousContainerDatabase.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
AutonomousContainerDatabase.Builder |
lifecycleState(AutonomousContainerDatabase.LifecycleState lifecycleState)
The current state of the Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
listOneOffPatches(List<String> listOneOffPatches)
List of One-Off patches that has been successfully applied to Autonomous Container
Database
|
AutonomousContainerDatabase.Builder |
maintenanceWindow(MaintenanceWindow maintenanceWindow) |
AutonomousContainerDatabase.Builder |
memoryPerOracleComputeUnitInGBs(Integer memoryPerOracleComputeUnitInGBs)
The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster.
|
AutonomousContainerDatabase.Builder |
netServicesArchitecture(AutonomousContainerDatabase.NetServicesArchitecture netServicesArchitecture)
Enabling SHARED server architecture enables a database server to allow many client
processes to share very few server processes, thereby increasing the number of supported
users.
|
AutonomousContainerDatabase.Builder |
nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the
next maintenance run.
|
AutonomousContainerDatabase.Builder |
patchId(String patchId)
The OCID of the
last patch applied on the system.
|
AutonomousContainerDatabase.Builder |
patchModel(AutonomousContainerDatabase.PatchModel patchModel)
Database patch model preference.
|
AutonomousContainerDatabase.Builder |
provisionableCpus(List<Float> provisionableCpus)
An array of CPU values that can be used to successfully provision a single Autonomous
Database.
|
AutonomousContainerDatabase.Builder |
provisionedCpus(Float provisionedCpus)
The number of CPUs provisioned in an Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
reclaimableCpus(Float 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.
|
AutonomousContainerDatabase.Builder |
reservedCpus(Float reservedCpus)
The number of CPUs reserved in an Autonomous Container Database.
|
AutonomousContainerDatabase.Builder |
role(AutonomousContainerDatabase.Role role)
The Data Guard role of the Autonomous Container Database or Autonomous Database, if
Autonomous Data Guard is enabled.
|
AutonomousContainerDatabase.Builder |
serviceLevelAgreementType(AutonomousContainerDatabase.ServiceLevelAgreementType serviceLevelAgreementType)
The service level agreement type of the container database.
|
AutonomousContainerDatabase.Builder |
standbyMaintenanceBufferInDays(Integer standbyMaintenanceBufferInDays)
The scheduling detail for the quarterly maintenance window of the standby Autonomous
Container Database.
|
AutonomousContainerDatabase.Builder |
timeCreated(Date timeCreated)
The date and time the Autonomous Container Database was created.
|
AutonomousContainerDatabase.Builder |
timeOfLastBackup(Date timeOfLastBackup)
The timestamp of last successful backup.
|
AutonomousContainerDatabase.Builder |
timeSnapshotStandbyRevert(Date timeSnapshotStandbyRevert)
The date and time the Autonomous Container Database will be reverted to Standby from
Snapshot Standby.
|
AutonomousContainerDatabase.Builder |
totalCpus(Integer totalCpus)
The number of CPUs allocated to the Autonomous VM cluster.
|
AutonomousContainerDatabase.Builder |
vaultId(String vaultId)
|
AutonomousContainerDatabase.Builder |
versionPreference(AutonomousContainerDatabase.VersionPreference versionPreference)
The next maintenance version preference.
|
AutonomousContainerDatabase.Builder |
vmFailoverReservation(Integer vmFailoverReservation)
The percentage of CPUs reserved across nodes to support node failover.
|
public AutonomousContainerDatabase.Builder id(String id)
The OCID of the Autonomous Container Database.
id
- the value to setpublic AutonomousContainerDatabase.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic AutonomousContainerDatabase.Builder displayName(String displayName)
The user-provided name for the Autonomous Container Database.
displayName
- the value to setpublic AutonomousContainerDatabase.Builder dbUniqueName(String dbUniqueName)
Deprecated. The DB_UNIQUE_NAME
value is set by Oracle Cloud Infrastructure.
Do not specify a value for this parameter. Specifying a value for this field will cause
Terraform operations to fail.
dbUniqueName
- the value to setpublic AutonomousContainerDatabase.Builder dbName(String dbName)
The Database name for the Autonomous Container Database. The name must be unique within the Cloud Autonomous VM Cluster, starting with an alphabetic character, followed by 1 to 7 alphanumeric characters.
dbName
- the value to setpublic AutonomousContainerDatabase.Builder serviceLevelAgreementType(AutonomousContainerDatabase.ServiceLevelAgreementType serviceLevelAgreementType)
The service level agreement type of the container database. The default is STANDARD.
serviceLevelAgreementType
- the value to setpublic AutonomousContainerDatabase.Builder autonomousExadataInfrastructureId(String autonomousExadataInfrastructureId)
No longer used. For Autonomous Database on dedicated Exadata infrastructure, the
container database is created within a specified cloudAutonomousVmCluster
.
autonomousExadataInfrastructureId
- the value to setpublic AutonomousContainerDatabase.Builder autonomousVmClusterId(String autonomousVmClusterId)
The OCID of the Autonomous VM Cluster.
autonomousVmClusterId
- the value to setpublic AutonomousContainerDatabase.Builder infrastructureType(AutonomousContainerDatabase.InfrastructureType infrastructureType)
The infrastructure type this resource belongs to.
infrastructureType
- the value to setpublic AutonomousContainerDatabase.Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId)
The OCID of the cloud Autonomous Exadata VM Cluster.
cloudAutonomousVmClusterId
- the value to setpublic AutonomousContainerDatabase.Builder kmsKeyId(String kmsKeyId)
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
kmsKeyId
- the value to setpublic AutonomousContainerDatabase.Builder vaultId(String vaultId)
The OCID of the
Oracle Cloud Infrastructure
vault.
This parameter and secretId
are required for Customer Managed Keys.
vaultId
- the value to setpublic AutonomousContainerDatabase.Builder kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
kmsKeyVersionId
- the value to setpublic AutonomousContainerDatabase.Builder keyHistoryEntry(List<AutonomousDatabaseKeyHistoryEntry> keyHistoryEntry)
Key History Entry.
keyHistoryEntry
- the value to setpublic AutonomousContainerDatabase.Builder lifecycleState(AutonomousContainerDatabase.LifecycleState lifecycleState)
The current state of the Autonomous Container Database.
lifecycleState
- the value to setpublic AutonomousContainerDatabase.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic AutonomousContainerDatabase.Builder timeCreated(Date timeCreated)
The date and time the Autonomous Container Database was created.
timeCreated
- the value to setpublic AutonomousContainerDatabase.Builder timeSnapshotStandbyRevert(Date timeSnapshotStandbyRevert)
The date and time the Autonomous Container Database will be reverted to Standby from Snapshot Standby.
timeSnapshotStandbyRevert
- the value to setpublic AutonomousContainerDatabase.Builder patchModel(AutonomousContainerDatabase.PatchModel patchModel)
Database patch model preference.
patchModel
- the value to setpublic AutonomousContainerDatabase.Builder patchId(String patchId)
The OCID of the last patch applied on the system.
patchId
- the value to setpublic AutonomousContainerDatabase.Builder lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the last maintenance run.
lastMaintenanceRunId
- the value to setpublic AutonomousContainerDatabase.Builder nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the next maintenance run.
nextMaintenanceRunId
- the value to setpublic AutonomousContainerDatabase.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
public AutonomousContainerDatabase.Builder standbyMaintenanceBufferInDays(Integer standbyMaintenanceBufferInDays)
The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. This value represents the number of days before scheduled maintenance of the primary database.
standbyMaintenanceBufferInDays
- the value to setpublic AutonomousContainerDatabase.Builder versionPreference(AutonomousContainerDatabase.VersionPreference versionPreference)
The next maintenance version preference.
versionPreference
- the value to setpublic AutonomousContainerDatabase.Builder isDstFileUpdateEnabled(Boolean isDstFileUpdateEnabled)
Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
isDstFileUpdateEnabled
- the value to setpublic AutonomousContainerDatabase.Builder dstFileVersion(String dstFileVersion)
DST Time-Zone File version of the Autonomous Container Database.
dstFileVersion
- the value to setpublic AutonomousContainerDatabase.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"}
freeformTags
- the value to setpublic AutonomousContainerDatabase.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.
definedTags
- the value to setpublic AutonomousContainerDatabase.Builder role(AutonomousContainerDatabase.Role role)
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
role
- the value to setpublic AutonomousContainerDatabase.Builder availabilityDomain(String availabilityDomain)
The availability domain of the Autonomous Container Database.
availabilityDomain
- the value to setpublic AutonomousContainerDatabase.Builder dbVersion(String dbVersion)
Oracle Database version of the Autonomous Container Database.
dbVersion
- the value to setpublic AutonomousContainerDatabase.Builder backupConfig(AutonomousContainerDatabaseBackupConfig backupConfig)
public AutonomousContainerDatabase.Builder keyStoreId(String keyStoreId)
The OCID of the key store of Oracle Vault.
keyStoreId
- the value to setpublic AutonomousContainerDatabase.Builder keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
keyStoreWalletName
- the value to setpublic AutonomousContainerDatabase.Builder memoryPerOracleComputeUnitInGBs(Integer memoryPerOracleComputeUnitInGBs)
The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster.
memoryPerOracleComputeUnitInGBs
- the value to setpublic AutonomousContainerDatabase.Builder availableCpus(Float availableCpus)
Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.
availableCpus
- the value to setpublic AutonomousContainerDatabase.Builder totalCpus(Integer totalCpus)
The number of CPUs allocated to the Autonomous VM cluster.
totalCpus
- the value to setpublic AutonomousContainerDatabase.Builder reclaimableCpus(Float 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.
reclaimableCpus
- the value to setpublic AutonomousContainerDatabase.Builder provisionableCpus(List<Float> provisionableCpus)
An array of CPU values that can be used to successfully provision a single Autonomous Database.
provisionableCpus
- the value to setpublic AutonomousContainerDatabase.Builder listOneOffPatches(List<String> listOneOffPatches)
List of One-Off patches that has been successfully applied to Autonomous Container Database
listOneOffPatches
- the value to setpublic AutonomousContainerDatabase.Builder computeModel(AutonomousContainerDatabase.ComputeModel computeModel)
The compute model of the Autonomous Container Database. For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (ECPUs or OCPUs) is determined by the parent Autonomous Exadata VM Cluster’s compute model. 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.
computeModel
- the value to setpublic AutonomousContainerDatabase.Builder provisionedCpus(Float provisionedCpus)
The number of CPUs provisioned in an Autonomous Container Database.
provisionedCpus
- the value to setpublic AutonomousContainerDatabase.Builder reservedCpus(Float reservedCpus)
The number of CPUs reserved in an Autonomous Container Database.
reservedCpus
- the value to setpublic AutonomousContainerDatabase.Builder largestProvisionableAutonomousDatabaseInCpus(Float largestProvisionableAutonomousDatabaseInCpus)
The largest Autonomous Database (CPU) that can be created in a new Autonomous Container Database.
largestProvisionableAutonomousDatabaseInCpus
- the value to setpublic AutonomousContainerDatabase.Builder timeOfLastBackup(Date timeOfLastBackup)
The timestamp of last successful backup. Here NULL value represents either there are no successful backups or backups are not configured for this Autonomous Container Database.
timeOfLastBackup
- the value to setpublic AutonomousContainerDatabase.Builder dbSplitThreshold(Integer dbSplitThreshold)
The CPU value beyond which an Autonomous Database will be opened across multiple nodes. The default value of this attribute is 16 for OCPUs and 64 for ECPUs.
dbSplitThreshold
- the value to setpublic AutonomousContainerDatabase.Builder vmFailoverReservation(Integer vmFailoverReservation)
The percentage of CPUs reserved across nodes to support node failover. Allowed values are 0%, 25%, and 50%, with 50% being the default option.
vmFailoverReservation
- the value to setpublic AutonomousContainerDatabase.Builder distributionAffinity(AutonomousContainerDatabase.DistributionAffinity distributionAffinity)
Determines whether an Autonomous Database must be opened across the maximum number of nodes or the least number of nodes. By default, Minimum nodes is selected.
distributionAffinity
- the value to setpublic AutonomousContainerDatabase.Builder netServicesArchitecture(AutonomousContainerDatabase.NetServicesArchitecture netServicesArchitecture)
Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users.
netServicesArchitecture
- the value to setpublic AutonomousContainerDatabase build()
public AutonomousContainerDatabase.Builder copy(AutonomousContainerDatabase model)
Copyright © 2016–2024. All rights reserved.