public static class AutonomousDatabase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutonomousDatabase.Builder |
actualUsedDataStorageSizeInTBs(Double actualUsedDataStorageSizeInTBs)
The current amount of storage in use for user and system data, in terabytes (TB).
|
AutonomousDatabase.Builder |
allocatedStorageSizeInTBs(Double allocatedStorageSizeInTBs)
The amount of storage currently allocated for the database tables and billed for, rounded
up.
|
AutonomousDatabase.Builder |
apexDetails(AutonomousDatabaseApex apexDetails)
Information about Oracle APEX Application Development.
|
AutonomousDatabase.Builder |
arePrimaryWhitelistedIpsUsed(Boolean arePrimaryWhitelistedIpsUsed)
This field will be null if the Autonomous Database is not Data Guard enabled or Access
Control is disabled.
|
AutonomousDatabase.Builder |
autonomousContainerDatabaseId(String autonomousContainerDatabaseId)
The Autonomous Container Database
OCID.
|
AutonomousDatabase.Builder |
autonomousMaintenanceScheduleType(AutonomousDatabase.AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType)
The maintenance schedule type of the Autonomous Database on shared Exadata
infrastructure.
|
AutonomousDatabase.Builder |
availableUpgradeVersions(List<String> availableUpgradeVersions)
List of Oracle Database versions available for a database upgrade.
|
AutonomousDatabase.Builder |
backupConfig(AutonomousDatabaseBackupConfig backupConfig) |
AutonomousDatabase.Builder |
backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
Retention period, in days, for long-term backups
|
AutonomousDatabase |
build() |
AutonomousDatabase.Builder |
characterSet(String characterSet)
The character set for the autonomous database.
|
AutonomousDatabase.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
AutonomousDatabase.Builder |
computeCount(Float computeCount)
The compute amount available to the database.
|
AutonomousDatabase.Builder |
computeModel(AutonomousDatabase.ComputeModel computeModel)
The compute model of the Autonomous Database.
|
AutonomousDatabase.Builder |
connectionStrings(AutonomousDatabaseConnectionStrings connectionStrings)
The connection string used to connect to the Autonomous Database.
|
AutonomousDatabase.Builder |
connectionUrls(AutonomousDatabaseConnectionUrls connectionUrls) |
AutonomousDatabase.Builder |
copy(AutonomousDatabase model) |
AutonomousDatabase.Builder |
cpuCoreCount(Integer cpuCoreCount)
The number of OCPU cores to be made available to the database.
|
AutonomousDatabase.Builder |
customerContacts(List<CustomerContact> customerContacts)
Customer Contacts.
|
AutonomousDatabase.Builder |
databaseEdition(AutonomousDatabase.DatabaseEdition databaseEdition)
The Oracle Database Edition that applies to the Autonomous databases.
|
AutonomousDatabase.Builder |
databaseManagementStatus(AutonomousDatabase.DatabaseManagementStatus databaseManagementStatus)
Status of Database Management for this Autonomous Database.
|
AutonomousDatabase.Builder |
dataguardRegionType(AutonomousDatabase.DataguardRegionType dataguardRegionType)
The Autonomous Data Guard region type of the Autonomous Database.
|
AutonomousDatabase.Builder |
dataSafeStatus(AutonomousDatabase.DataSafeStatus dataSafeStatus)
Status of the Data Safe registration for this Autonomous Database.
|
AutonomousDatabase.Builder |
dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
The quantity of data in the database, in gigabytes.
|
AutonomousDatabase.Builder |
dataStorageSizeInTBs(Integer dataStorageSizeInTBs)
The quantity of data in the database, in terabytes.
|
AutonomousDatabase.Builder |
dbName(String dbName)
The database name.
|
AutonomousDatabase.Builder |
dbToolsDetails(List<DatabaseTool> dbToolsDetails)
The list of database tools details.
|
AutonomousDatabase.Builder |
dbVersion(String dbVersion)
A valid Oracle Database version for Autonomous Database.
|
AutonomousDatabase.Builder |
dbWorkload(AutonomousDatabase.DbWorkload dbWorkload)
The Autonomous Database workload type.
|
AutonomousDatabase.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AutonomousDatabase.Builder |
disasterRecoveryRegionType(AutonomousDatabase.DisasterRecoveryRegionType disasterRecoveryRegionType)
The disaster recovery (DR) region type of the Autonomous Database.
|
AutonomousDatabase.Builder |
displayName(String displayName)
The user-friendly name for the Autonomous Database.
|
AutonomousDatabase.Builder |
failedDataRecoveryInSeconds(Integer failedDataRecoveryInSeconds)
Indicates the number of seconds of data loss for a Data Guard failover.
|
AutonomousDatabase.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
AutonomousDatabase.Builder |
id(String id)
The OCID of the
Autonomous Database.
|
AutonomousDatabase.Builder |
infrastructureType(AutonomousDatabase.InfrastructureType infrastructureType)
The infrastructure type this resource belongs to.
|
AutonomousDatabase.Builder |
isAccessControlEnabled(Boolean isAccessControlEnabled)
Indicates if the database-level access control is enabled.
|
AutonomousDatabase.Builder |
isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Indicates if auto scaling is enabled for the Autonomous Database CPU core count.
|
AutonomousDatabase.Builder |
isAutoScalingForStorageEnabled(Boolean isAutoScalingForStorageEnabled)
Indicates if auto scaling is enabled for the Autonomous Database storage.
|
AutonomousDatabase.Builder |
isDataGuardEnabled(Boolean isDataGuardEnabled)
Deprecated. Indicates whether the Autonomous Database has local (in-region) Data
Guard enabled.
|
AutonomousDatabase.Builder |
isDedicated(Boolean isDedicated)
True if the database uses dedicated Exadata
infrastructure.
|
AutonomousDatabase.Builder |
isFreeTier(Boolean isFreeTier)
Indicates if this is an Always Free resource.
|
AutonomousDatabase.Builder |
isLocalDataGuardEnabled(Boolean isLocalDataGuardEnabled)
Indicates whether the Autonomous Database has local (in-region) Data Guard enabled.
|
AutonomousDatabase.Builder |
isMtlsConnectionRequired(Boolean isMtlsConnectionRequired)
Specifies if the Autonomous Database requires mTLS connections.
|
AutonomousDatabase.Builder |
isPreview(Boolean isPreview)
Indicates if the Autonomous Database version is a preview version.
|
AutonomousDatabase.Builder |
isReconnectCloneEnabled(Boolean isReconnectCloneEnabled)
Indicates if the refreshable clone can be reconnected to its source database.
|
AutonomousDatabase.Builder |
isRefreshableClone(Boolean isRefreshableClone)
Indicates if the Autonomous Database is a refreshable clone.
|
AutonomousDatabase.Builder |
isRemoteDataGuardEnabled(Boolean isRemoteDataGuardEnabled)
Indicates whether the Autonomous Database has Cross Region Data Guard enabled.
|
AutonomousDatabase.Builder |
keyHistoryEntry(List<AutonomousDatabaseKeyHistoryEntry> keyHistoryEntry)
Key History Entry.
|
AutonomousDatabase.Builder |
keyStoreId(String keyStoreId)
The OCID of the
key store.
|
AutonomousDatabase.Builder |
keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
|
AutonomousDatabase.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.
|
AutonomousDatabase.Builder |
kmsKeyLifecycleDetails(String kmsKeyLifecycleDetails)
KMS key lifecycle details.
|
AutonomousDatabase.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.
|
AutonomousDatabase.Builder |
licenseModel(AutonomousDatabase.LicenseModel licenseModel)
The Oracle license model that applies to the Oracle Autonomous Database.
|
AutonomousDatabase.Builder |
lifecycleDetails(String lifecycleDetails)
Information about the current lifecycle state.
|
AutonomousDatabase.Builder |
lifecycleState(AutonomousDatabase.LifecycleState lifecycleState)
The current state of the Autonomous Database.
|
AutonomousDatabase.Builder |
localDisasterRecoveryType(DisasterRecoveryConfiguration.DisasterRecoveryType localDisasterRecoveryType)
Indicates the local disaster recovery (DR) type of the Shared Autonomous Database.
|
AutonomousDatabase.Builder |
localStandbyDb(AutonomousDatabaseStandbySummary localStandbyDb) |
AutonomousDatabase.Builder |
longTermBackupSchedule(LongTermBackUpScheduleDetails longTermBackupSchedule) |
AutonomousDatabase.Builder |
maxCpuCoreCount(Integer maxCpuCoreCount)
The number of Max OCPU cores to be made available to the autonomous database with auto
scaling of cpu enabled.
|
AutonomousDatabase.Builder |
memoryPerOracleComputeUnitInGBs(Integer memoryPerOracleComputeUnitInGBs)
The amount of memory (in GBs) enabled per OCPU or ECPU.
|
AutonomousDatabase.Builder |
ncharacterSet(String ncharacterSet)
The national character set for the autonomous database.
|
AutonomousDatabase.Builder |
nextLongTermBackupTimeStamp(Date nextLongTermBackupTimeStamp)
The date and time when the next long-term backup would be created.
|
AutonomousDatabase.Builder |
nsgIds(List<String> nsgIds)
The list of
OCIDs for the
network security groups (NSGs) to which this resource belongs.
|
AutonomousDatabase.Builder |
ocpuCount(Float ocpuCount)
The number of OCPU cores to be made available to the database.
|
AutonomousDatabase.Builder |
openMode(AutonomousDatabase.OpenMode openMode)
Indicates the Autonomous Database mode.
|
AutonomousDatabase.Builder |
operationsInsightsStatus(AutonomousDatabase.OperationsInsightsStatus operationsInsightsStatus)
Status of Operations Insights for this Autonomous Database.
|
AutonomousDatabase.Builder |
peerDbIds(List<String> peerDbIds)
The list of
OCIDs of
standby databases located in Autonomous Data Guard remote regions that are associated
with the source database.
|
AutonomousDatabase.Builder |
permissionLevel(AutonomousDatabase.PermissionLevel permissionLevel)
The Autonomous Database permission level.
|
AutonomousDatabase.Builder |
privateEndpoint(String privateEndpoint)
The private endpoint for the resource.
|
AutonomousDatabase.Builder |
privateEndpointIp(String privateEndpointIp)
The private endpoint Ip address for the resource.
|
AutonomousDatabase.Builder |
privateEndpointLabel(String privateEndpointLabel)
The resource’s private endpoint label.
|
AutonomousDatabase.Builder |
provisionableCpus(List<Float> provisionableCpus)
An array of CPU values that an Autonomous Database can be scaled to.
|
AutonomousDatabase.Builder |
refreshableMode(AutonomousDatabase.RefreshableMode refreshableMode)
The refresh mode of the clone.
|
AutonomousDatabase.Builder |
refreshableStatus(AutonomousDatabase.RefreshableStatus refreshableStatus)
The refresh status of the clone.
|
AutonomousDatabase.Builder |
remoteDisasterRecoveryConfiguration(DisasterRecoveryConfiguration remoteDisasterRecoveryConfiguration) |
AutonomousDatabase.Builder |
role(AutonomousDatabase.Role role)
The Data Guard role of the Autonomous Container Database or Autonomous Database, if
Autonomous Data Guard is enabled.
|
AutonomousDatabase.Builder |
scheduledOperations(List<ScheduledOperationDetails> scheduledOperations)
The list of scheduled operations.
|
AutonomousDatabase.Builder |
serviceConsoleUrl(String serviceConsoleUrl)
The URL of the Service Console for the Autonomous Database.
|
AutonomousDatabase.Builder |
sourceId(String sourceId)
The OCID of the
source Autonomous Database that was cloned to create the current Autonomous Database.
|
AutonomousDatabase.Builder |
standbyDb(AutonomousDatabaseStandbySummary standbyDb)
Deprecated Autonomous Data Guard standby database details.
|
AutonomousDatabase.Builder |
standbyWhitelistedIps(List<String> standbyWhitelistedIps)
The client IP access control list (ACL).
|
AutonomousDatabase.Builder |
subnetId(String subnetId)
The OCID of the
subnet the resource is associated with.
|
AutonomousDatabase.Builder |
supportedRegionsToCloneTo(List<String> supportedRegionsToCloneTo)
The list of regions that support the creation of an Autonomous Database clone or an
Autonomous Data Guard standby database.
|
AutonomousDatabase.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
AutonomousDatabase.Builder |
timeCreated(Date timeCreated)
The date and time the Autonomous Database was created.
|
AutonomousDatabase.Builder |
timeDataGuardRoleChanged(Date timeDataGuardRoleChanged)
The date and time the Autonomous Data Guard role was switched for the Autonomous
Database.
|
AutonomousDatabase.Builder |
timeDeletionOfFreeAutonomousDatabase(Date timeDeletionOfFreeAutonomousDatabase)
The date and time the Always Free database will be automatically deleted because of
inactivity.
|
AutonomousDatabase.Builder |
timeDisasterRecoveryRoleChanged(Date timeDisasterRecoveryRoleChanged)
The date and time the Disaster Recovery role was switched for the standby Autonomous
Database.
|
AutonomousDatabase.Builder |
timeLocalDataGuardEnabled(Date timeLocalDataGuardEnabled)
The date and time that Autonomous Data Guard was enabled for an Autonomous Database where
the standby was provisioned in the same region as the primary database.
|
AutonomousDatabase.Builder |
timeMaintenanceBegin(Date timeMaintenanceBegin)
The date and time when maintenance will begin.
|
AutonomousDatabase.Builder |
timeMaintenanceEnd(Date timeMaintenanceEnd)
The date and time when maintenance will end.
|
AutonomousDatabase.Builder |
timeOfLastFailover(Date timeOfLastFailover)
The timestamp of the last failover operation.
|
AutonomousDatabase.Builder |
timeOfLastRefresh(Date timeOfLastRefresh)
The date and time when last refresh happened.
|
AutonomousDatabase.Builder |
timeOfLastRefreshPoint(Date timeOfLastRefreshPoint)
The refresh point timestamp (UTC).
|
AutonomousDatabase.Builder |
timeOfLastSwitchover(Date timeOfLastSwitchover)
The timestamp of the last switchover operation for the Autonomous Database.
|
AutonomousDatabase.Builder |
timeOfNextRefresh(Date timeOfNextRefresh)
The date and time of next refresh.
|
AutonomousDatabase.Builder |
timeReclamationOfFreeAutonomousDatabase(Date timeReclamationOfFreeAutonomousDatabase)
The date and time the Always Free database will be stopped because of inactivity.
|
AutonomousDatabase.Builder |
timeUntilReconnectCloneEnabled(Date timeUntilReconnectCloneEnabled)
The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set
the limit for a refreshable clone to be reconnected to its source database.
|
AutonomousDatabase.Builder |
totalBackupStorageSizeInGBs(Double totalBackupStorageSizeInGBs)
The backup storage to the database.
|
AutonomousDatabase.Builder |
usedDataStorageSizeInGBs(Integer usedDataStorageSizeInGBs)
The storage space consumed by Autonomous Database in GBs.
|
AutonomousDatabase.Builder |
usedDataStorageSizeInTBs(Integer usedDataStorageSizeInTBs)
The amount of storage that has been used, in terabytes.
|
AutonomousDatabase.Builder |
vaultId(String vaultId)
|
AutonomousDatabase.Builder |
whitelistedIps(List<String> whitelistedIps)
The client IP access control list (ACL).
|
public AutonomousDatabase.Builder id(String id)
The OCID of the Autonomous Database.
id
- the value to setpublic AutonomousDatabase.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic AutonomousDatabase.Builder lifecycleState(AutonomousDatabase.LifecycleState lifecycleState)
The current state of the Autonomous Database.
lifecycleState
- the value to setpublic AutonomousDatabase.Builder lifecycleDetails(String lifecycleDetails)
Information about the current lifecycle state.
lifecycleDetails
- the value to setpublic AutonomousDatabase.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 AutonomousDatabase.Builder vaultId(String vaultId)
vaultId
- the value to setpublic AutonomousDatabase.Builder kmsKeyLifecycleDetails(String kmsKeyLifecycleDetails)
KMS key lifecycle details.
kmsKeyLifecycleDetails
- the value to setpublic AutonomousDatabase.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.
kmsKeyVersionId
- the value to setpublic AutonomousDatabase.Builder dbName(String dbName)
The database name.
dbName
- the value to setpublic AutonomousDatabase.Builder characterSet(String characterSet)
The character set for the autonomous database. The default is AL32UTF8. Allowed values are:
AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS
characterSet
- the value to setpublic AutonomousDatabase.Builder ncharacterSet(String ncharacterSet)
The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
ncharacterSet
- the value to setpublic AutonomousDatabase.Builder nextLongTermBackupTimeStamp(Date nextLongTermBackupTimeStamp)
The date and time when the next long-term backup would be created.
nextLongTermBackupTimeStamp
- the value to setpublic AutonomousDatabase.Builder longTermBackupSchedule(LongTermBackUpScheduleDetails longTermBackupSchedule)
public AutonomousDatabase.Builder isFreeTier(Boolean isFreeTier)
Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isLocalDataGuardEnabled
isFreeTier
- the value to setpublic AutonomousDatabase.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
systemTags
- the value to setpublic AutonomousDatabase.Builder timeReclamationOfFreeAutonomousDatabase(Date timeReclamationOfFreeAutonomousDatabase)
The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.
timeReclamationOfFreeAutonomousDatabase
- the value to setpublic AutonomousDatabase.Builder timeDeletionOfFreeAutonomousDatabase(Date timeDeletionOfFreeAutonomousDatabase)
The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.
timeDeletionOfFreeAutonomousDatabase
- the value to setpublic AutonomousDatabase.Builder backupConfig(AutonomousDatabaseBackupConfig backupConfig)
public AutonomousDatabase.Builder keyHistoryEntry(List<AutonomousDatabaseKeyHistoryEntry> keyHistoryEntry)
Key History Entry.
keyHistoryEntry
- the value to setpublic AutonomousDatabase.Builder cpuCoreCount(Integer cpuCoreCount)
The number of OCPU cores to be made available to the database. When the ECPU is selected, the value for cpuCoreCount is 0. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.
*Note:** This parameter cannot be used with the ocpuCount
parameter.
cpuCoreCount
- the value to setpublic AutonomousDatabase.Builder computeModel(AutonomousDatabase.ComputeModel computeModel)
The compute model of the Autonomous Database. This is required if using the computeCount
parameter. If using cpuCoreCount
then it is an error to specify
computeModel
to a non-null value.
computeModel
- the value to setpublic AutonomousDatabase.Builder computeCount(Float computeCount)
The compute amount available to the database. Minimum and maximum values depend on the
compute model and whether the database is on Shared or Dedicated infrastructure. For an
Autonomous Database on Shared infrastructure, the ‘ECPU’ compute model requires values in
multiples of two. Required when using the computeModel
parameter. When using
cpuCoreCount
parameter, it is an error to specify computeCount to a non-null
value.
computeCount
- the value to setpublic AutonomousDatabase.Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays)
Retention period, in days, for long-term backups
backupRetentionPeriodInDays
- the value to setpublic AutonomousDatabase.Builder totalBackupStorageSizeInGBs(Double totalBackupStorageSizeInGBs)
The backup storage to the database.
totalBackupStorageSizeInGBs
- the value to setpublic AutonomousDatabase.Builder ocpuCount(Float ocpuCount)
The number of OCPU cores to be made available to the database.
The following points apply: - For Autonomous Databases on dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Databasese on shared Exadata infrastructure.) - To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to Autonomous Databases on both shared and dedicated Exadata infrastructure.
For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
*Note:** This parameter cannot be used with the cpuCoreCount
parameter.
ocpuCount
- the value to setpublic AutonomousDatabase.Builder provisionableCpus(List<Float> provisionableCpus)
An array of CPU values that an Autonomous Database can be scaled to.
provisionableCpus
- the value to setpublic AutonomousDatabase.Builder dataStorageSizeInTBs(Integer dataStorageSizeInTBs)
The quantity of data in the database, in terabytes.
dataStorageSizeInTBs
- the value to setpublic AutonomousDatabase.Builder memoryPerOracleComputeUnitInGBs(Integer memoryPerOracleComputeUnitInGBs)
The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure for more details.
memoryPerOracleComputeUnitInGBs
- the value to setpublic AutonomousDatabase.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
The quantity of data in the database, in gigabytes.
dataStorageSizeInGBs
- the value to setpublic AutonomousDatabase.Builder usedDataStorageSizeInGBs(Integer usedDataStorageSizeInGBs)
The storage space consumed by Autonomous Database in GBs.
usedDataStorageSizeInGBs
- the value to setpublic AutonomousDatabase.Builder infrastructureType(AutonomousDatabase.InfrastructureType infrastructureType)
The infrastructure type this resource belongs to.
infrastructureType
- the value to setpublic AutonomousDatabase.Builder isDedicated(Boolean isDedicated)
True if the database uses dedicated Exadata infrastructure.
isDedicated
- the value to setpublic AutonomousDatabase.Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseId)
The Autonomous Container Database OCID.
autonomousContainerDatabaseId
- the value to setpublic AutonomousDatabase.Builder timeCreated(Date timeCreated)
The date and time the Autonomous Database was created.
timeCreated
- the value to setpublic AutonomousDatabase.Builder displayName(String displayName)
The user-friendly name for the Autonomous Database. The name does not have to be unique.
displayName
- the value to setpublic AutonomousDatabase.Builder serviceConsoleUrl(String serviceConsoleUrl)
The URL of the Service Console for the Autonomous Database.
serviceConsoleUrl
- the value to setpublic AutonomousDatabase.Builder connectionStrings(AutonomousDatabaseConnectionStrings connectionStrings)
The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.
connectionStrings
- the value to setpublic AutonomousDatabase.Builder connectionUrls(AutonomousDatabaseConnectionUrls connectionUrls)
public AutonomousDatabase.Builder licenseModel(AutonomousDatabase.LicenseModel licenseModel)
The Oracle license model that applies to the Oracle Autonomous Database. Bring your own
license (BYOL) allows you to apply your current on-premises Oracle software licenses to
equivalent, highly automated Oracle PaaS and IaaS services in the cloud. License Included
allows you to subscribe to new Oracle Database software licenses and the Database
service. Note that when provisioning an Autonomous Database on dedicated Exadata
infrastructure,
this attribute must be null because the attribute is already set at the Autonomous
Exadata Infrastructure level. When using shared Exadata
infrastructure, if
a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE
.
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, maxCpuCoreCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
licenseModel
- the value to setpublic AutonomousDatabase.Builder usedDataStorageSizeInTBs(Integer usedDataStorageSizeInTBs)
The amount of storage that has been used, in terabytes.
usedDataStorageSizeInTBs
- the value to setpublic AutonomousDatabase.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 AutonomousDatabase.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 AutonomousDatabase.Builder subnetId(String subnetId)
The OCID of the subnet the resource is associated with.
*Subnet Restrictions:** - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28. - For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20. - For Autonomous Database, setting this will disable public secure access to the database.
These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.
subnetId
- the value to setpublic AutonomousDatabase.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.
nsgIds
- the value to setpublic AutonomousDatabase.Builder privateEndpoint(String privateEndpoint)
The private endpoint for the resource.
privateEndpoint
- the value to setpublic AutonomousDatabase.Builder privateEndpointLabel(String privateEndpointLabel)
The resource’s private endpoint label. Setting this to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database.
This setting cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
privateEndpointLabel
- the value to setpublic AutonomousDatabase.Builder privateEndpointIp(String privateEndpointIp)
The private endpoint Ip address for the resource.
privateEndpointIp
- the value to setpublic AutonomousDatabase.Builder dbVersion(String dbVersion)
A valid Oracle Database version for Autonomous Database.
dbVersion
- the value to setpublic AutonomousDatabase.Builder isPreview(Boolean isPreview)
Indicates if the Autonomous Database version is a preview version.
isPreview
- the value to setpublic AutonomousDatabase.Builder dbWorkload(AutonomousDatabase.DbWorkload dbWorkload)
The Autonomous Database workload type. The following values are valid:
- OLTP - indicates an Autonomous Transaction Processing database - DW - indicates an Autonomous Data Warehouse database - AJD - indicates an Autonomous JSON Database - APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
dbWorkload
- the value to setpublic AutonomousDatabase.Builder isAccessControlEnabled(Boolean isAccessControlEnabled)
Indicates if the database-level access control is enabled. If disabled, database access
is defined by the network security rules. If enabled, database access is restricted to
the IP addresses defined by the rules specified with the whitelistedIps
property.
While specifying whitelistedIps
rules is optional, if database-level access
control is enabled and no rules are specified, the database will become inaccessible. The
rules can be added later using the UpdateAutonomousDatabase
API operation or edit
option in console. When creating a database clone, the desired access control setting
should be specified. By default, database-level access control will be disabled for the
clone.
This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform.
isAccessControlEnabled
- the value to setpublic AutonomousDatabase.Builder whitelistedIps(List<String> whitelistedIps)
The client IP access control list (ACL). This feature is available for autonomous databases on shared Exadata infrastructure and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance.
For shared Exadata infrastructure, this is an array of CIDR (Classless Inter-Domain
Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between
the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"]
For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless
Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]
For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
whitelistedIps
- the value to setpublic AutonomousDatabase.Builder arePrimaryWhitelistedIpsUsed(Boolean arePrimaryWhitelistedIpsUsed)
This field will be null if the Autonomous Database is not Data Guard enabled or Access
Control is disabled. It’s value would be TRUE
if Autonomous Database is Data
Guard enabled and Access Control is enabled and if the Autonomous Database uses primary
IP access control list (ACL) for standby. It’s value would be FALSE
if Autonomous
Database is Data Guard enabled and Access Control is enabled and if the Autonomous
Database uses different IP access control list (ACL) for standby compared to primary.
arePrimaryWhitelistedIpsUsed
- the value to setpublic AutonomousDatabase.Builder standbyWhitelistedIps(List<String> standbyWhitelistedIps)
The client IP access control list (ACL). This feature is available for autonomous databases on shared Exadata infrastructure and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance.
For shared Exadata infrastructure, this is an array of CIDR (Classless Inter-Domain
Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between
the VCN-specific subnets or IPs. Example: ["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"]
For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless
Inter-Domain Routing) notations. Example: ["1.1.1.1","1.1.1.0/24","1.1.2.25"]
For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
standbyWhitelistedIps
- the value to setpublic AutonomousDatabase.Builder apexDetails(AutonomousDatabaseApex apexDetails)
Information about Oracle APEX Application Development.
apexDetails
- the value to setpublic AutonomousDatabase.Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled)
Indicates if auto scaling is enabled for the Autonomous Database CPU core count.
isAutoScalingEnabled
- the value to setpublic AutonomousDatabase.Builder dataSafeStatus(AutonomousDatabase.DataSafeStatus dataSafeStatus)
Status of the Data Safe registration for this Autonomous Database.
dataSafeStatus
- the value to setpublic AutonomousDatabase.Builder operationsInsightsStatus(AutonomousDatabase.OperationsInsightsStatus operationsInsightsStatus)
Status of Operations Insights for this Autonomous Database.
operationsInsightsStatus
- the value to setpublic AutonomousDatabase.Builder databaseManagementStatus(AutonomousDatabase.DatabaseManagementStatus databaseManagementStatus)
Status of Database Management for this Autonomous Database.
databaseManagementStatus
- the value to setpublic AutonomousDatabase.Builder timeMaintenanceBegin(Date timeMaintenanceBegin)
The date and time when maintenance will begin.
timeMaintenanceBegin
- the value to setpublic AutonomousDatabase.Builder timeMaintenanceEnd(Date timeMaintenanceEnd)
The date and time when maintenance will end.
timeMaintenanceEnd
- the value to setpublic AutonomousDatabase.Builder isRefreshableClone(Boolean isRefreshableClone)
Indicates if the Autonomous Database is a refreshable clone.
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
isRefreshableClone
- the value to setpublic AutonomousDatabase.Builder timeOfLastRefresh(Date timeOfLastRefresh)
The date and time when last refresh happened.
timeOfLastRefresh
- the value to setpublic AutonomousDatabase.Builder timeOfLastRefreshPoint(Date timeOfLastRefreshPoint)
The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.
timeOfLastRefreshPoint
- the value to setpublic AutonomousDatabase.Builder timeOfNextRefresh(Date timeOfNextRefresh)
The date and time of next refresh.
timeOfNextRefresh
- the value to setpublic AutonomousDatabase.Builder openMode(AutonomousDatabase.OpenMode openMode)
Indicates the Autonomous Database mode. The database can be opened in READ_ONLY
or READ_WRITE
mode.
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
openMode
- the value to setpublic AutonomousDatabase.Builder refreshableStatus(AutonomousDatabase.RefreshableStatus refreshableStatus)
The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
refreshableStatus
- the value to setpublic AutonomousDatabase.Builder refreshableMode(AutonomousDatabase.RefreshableMode refreshableMode)
The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
refreshableMode
- the value to setpublic AutonomousDatabase.Builder sourceId(String sourceId)
The OCID of the source Autonomous Database that was cloned to create the current Autonomous Database.
sourceId
- the value to setpublic AutonomousDatabase.Builder permissionLevel(AutonomousDatabase.PermissionLevel permissionLevel)
The Autonomous Database permission level. Restricted mode allows access only by admin users.
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
permissionLevel
- the value to setpublic AutonomousDatabase.Builder timeOfLastSwitchover(Date timeOfLastSwitchover)
The timestamp of the last switchover operation for the Autonomous Database.
timeOfLastSwitchover
- the value to setpublic AutonomousDatabase.Builder timeOfLastFailover(Date timeOfLastFailover)
The timestamp of the last failover operation.
timeOfLastFailover
- the value to setpublic AutonomousDatabase.Builder isDataGuardEnabled(Boolean isDataGuardEnabled)
Deprecated. Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
isDataGuardEnabled
- the value to setpublic AutonomousDatabase.Builder failedDataRecoveryInSeconds(Integer failedDataRecoveryInSeconds)
Indicates the number of seconds of data loss for a Data Guard failover.
failedDataRecoveryInSeconds
- the value to setpublic AutonomousDatabase.Builder standbyDb(AutonomousDatabaseStandbySummary standbyDb)
Deprecated Autonomous Data Guard standby database details.
standbyDb
- the value to setpublic AutonomousDatabase.Builder isLocalDataGuardEnabled(Boolean isLocalDataGuardEnabled)
Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
isLocalDataGuardEnabled
- the value to setpublic AutonomousDatabase.Builder isRemoteDataGuardEnabled(Boolean isRemoteDataGuardEnabled)
Indicates whether the Autonomous Database has Cross Region Data Guard enabled. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
isRemoteDataGuardEnabled
- the value to setpublic AutonomousDatabase.Builder localStandbyDb(AutonomousDatabaseStandbySummary localStandbyDb)
public AutonomousDatabase.Builder role(AutonomousDatabase.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 AutonomousDatabase.Builder availableUpgradeVersions(List<String> availableUpgradeVersions)
List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.
availableUpgradeVersions
- the value to setpublic AutonomousDatabase.Builder keyStoreId(String keyStoreId)
The OCID of the key store.
keyStoreId
- the value to setpublic AutonomousDatabase.Builder keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
keyStoreWalletName
- the value to setpublic AutonomousDatabase.Builder supportedRegionsToCloneTo(List<String> supportedRegionsToCloneTo)
The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.
supportedRegionsToCloneTo
- the value to setpublic AutonomousDatabase.Builder customerContacts(List<CustomerContact> customerContacts)
Customer Contacts.
customerContacts
- the value to setpublic AutonomousDatabase.Builder timeLocalDataGuardEnabled(Date timeLocalDataGuardEnabled)
The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database.
timeLocalDataGuardEnabled
- the value to setpublic AutonomousDatabase.Builder dataguardRegionType(AutonomousDatabase.DataguardRegionType dataguardRegionType)
The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Databases on shared Exadata infrastructure, Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. The standby regions in Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Data Guard association, and cannot be performed when the database using the “primary” role is operating in a remote Data Guard standby region.
dataguardRegionType
- the value to setpublic AutonomousDatabase.Builder timeDataGuardRoleChanged(Date timeDataGuardRoleChanged)
The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the “primary” role in the primary Data Guard region, or database located in the remote Data Guard standby region.
timeDataGuardRoleChanged
- the value to setpublic AutonomousDatabase.Builder peerDbIds(List<String> peerDbIds)
The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database. Note that for shared Exadata infrastructure, standby databases located in the same region as the source primary database do not have OCIDs.
peerDbIds
- the value to setpublic AutonomousDatabase.Builder isMtlsConnectionRequired(Boolean isMtlsConnectionRequired)
Specifies if the Autonomous Database requires mTLS connections.
This may not be updated in parallel with any of the following: licenseModel, databaseEdition, cpuCoreCount, computeCount, maxCpuCoreCount, dataStorageSizeInTBs, whitelistedIps, openMode, permissionLevel, db-workload, privateEndpointLabel, nsgIds, customerContacts, dbVersion, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
Service Change: The default value of the isMTLSConnectionRequired attribute will change from true to false on July 1, 2023 in the following APIs: - CreateAutonomousDatabase - GetAutonomousDatabase - UpdateAutonomousDatabase Details: Prior to the July 1, 2023 change, the isMTLSConnectionRequired attribute default value was true. This applies to Autonomous Databases on shared Exadata infrastructure. Does this impact me? If you use or maintain custom scripts or Terraform scripts referencing the CreateAutonomousDatabase, GetAutonomousDatabase, or UpdateAutonomousDatabase APIs, you want to check, and possibly modify, the scripts for the changed default value of the attribute. Should you choose not to leave your scripts unchanged, the API calls containing this attribute will continue to work, but the default value will switch from true to false. How do I make this change? Using either OCI SDKs or command line tools, update your custom scripts to explicitly set the isMTLSConnectionRequired attribute to true.
isMtlsConnectionRequired
- the value to setpublic AutonomousDatabase.Builder isReconnectCloneEnabled(Boolean isReconnectCloneEnabled)
Indicates if the refreshable clone can be reconnected to its source database.
isReconnectCloneEnabled
- the value to setpublic AutonomousDatabase.Builder timeUntilReconnectCloneEnabled(Date timeUntilReconnectCloneEnabled)
The time and date as an RFC3339 formatted string, e.g., 2022-01-01T12:00:00.000Z, to set the limit for a refreshable clone to be reconnected to its source database.
timeUntilReconnectCloneEnabled
- the value to setpublic AutonomousDatabase.Builder autonomousMaintenanceScheduleType(AutonomousDatabase.AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType)
The maintenance schedule type of the Autonomous Database on shared Exadata infrastructure. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.
autonomousMaintenanceScheduleType
- the value to setpublic AutonomousDatabase.Builder scheduledOperations(List<ScheduledOperationDetails> scheduledOperations)
The list of scheduled operations.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.
scheduledOperations
- the value to setpublic AutonomousDatabase.Builder isAutoScalingForStorageEnabled(Boolean isAutoScalingForStorageEnabled)
Indicates if auto scaling is enabled for the Autonomous Database storage. The default
value is FALSE
.
isAutoScalingForStorageEnabled
- the value to setpublic AutonomousDatabase.Builder allocatedStorageSizeInTBs(Double allocatedStorageSizeInTBs)
The amount of storage currently allocated for the database tables and billed for, rounded
up. When auto-scaling is not enabled, this value is equal to the dataStorageSizeInTBs
value. You can compare this value to the actualUsedDataStorageSizeInTBs
value to determine if a manual shrink operation is
appropriate for your allocated storage.
*Note:** Auto-scaling does not automatically decrease allocated storage when data is deleted from the database.
allocatedStorageSizeInTBs
- the value to setpublic AutonomousDatabase.Builder actualUsedDataStorageSizeInTBs(Double actualUsedDataStorageSizeInTBs)
The current amount of storage in use for user and system data, in terabytes (TB).
actualUsedDataStorageSizeInTBs
- the value to setpublic AutonomousDatabase.Builder maxCpuCoreCount(Integer maxCpuCoreCount)
The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled.
maxCpuCoreCount
- the value to setpublic AutonomousDatabase.Builder databaseEdition(AutonomousDatabase.DatabaseEdition databaseEdition)
The Oracle Database Edition that applies to the Autonomous databases.
databaseEdition
- the value to setpublic AutonomousDatabase.Builder dbToolsDetails(List<DatabaseTool> dbToolsDetails)
The list of database tools details.
This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.
dbToolsDetails
- the value to setpublic AutonomousDatabase.Builder localDisasterRecoveryType(DisasterRecoveryConfiguration.DisasterRecoveryType localDisasterRecoveryType)
Indicates the local disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
localDisasterRecoveryType
- the value to setpublic AutonomousDatabase.Builder disasterRecoveryRegionType(AutonomousDatabase.DisasterRecoveryRegionType disasterRecoveryRegionType)
The disaster recovery (DR) region type of the Autonomous Database. For Shared Autonomous Databases, DR associations have designated primary and standby regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region.
disasterRecoveryRegionType
- the value to setpublic AutonomousDatabase.Builder timeDisasterRecoveryRoleChanged(Date timeDisasterRecoveryRoleChanged)
The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
timeDisasterRecoveryRoleChanged
- the value to setpublic AutonomousDatabase.Builder remoteDisasterRecoveryConfiguration(DisasterRecoveryConfiguration remoteDisasterRecoveryConfiguration)
public AutonomousDatabase build()
public AutonomousDatabase.Builder copy(AutonomousDatabase model)
Copyright © 2016–2023. All rights reserved.