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 Serverless.
|
AutonomousDatabase.Builder |
autoRefreshFrequencyInSeconds(Integer autoRefreshFrequencyInSeconds)
The frequency a refreshable clone is refreshed after auto-refresh is enabled.
|
AutonomousDatabase.Builder |
autoRefreshPointLagInSeconds(Integer autoRefreshPointLagInSeconds)
The time, in seconds, the data of the refreshable clone lags the primary database at the
point of refresh.
|
AutonomousDatabase.Builder |
availabilityDomain(String availabilityDomain)
The availability domain where the Autonomous Database Serverless instance is located.
|
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 |
byolComputeCountLimit(Float byolComputeCountLimit)
The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those
used for auto-scaling, disaster recovery, tools, etc.
|
AutonomousDatabase.Builder |
characterSet(String characterSet)
The character set for the autonomous database.
|
AutonomousDatabase.Builder |
clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the
cluster placement group of the Autonomous Serverless Database.
|
AutonomousDatabase.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
AutonomousDatabase.Builder |
computeCount(Float computeCount)
The compute amount (CPUs) 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 CPU 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)
Deprecated. 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)
Deprecated. 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 |
encryptionKey(AutonomousDatabaseEncryptionKeyDetails encryptionKey) |
AutonomousDatabase.Builder |
encryptionKeyHistoryEntry(List<AutonomousDatabaseEncryptionKeyHistoryEntry> encryptionKeyHistoryEntry)
Key History Entry.
|
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 |
inMemoryAreaInGBs(Integer inMemoryAreaInGBs)
The area assigned to In-Memory tables in Autonomous Database.
|
AutonomousDatabase.Builder |
inMemoryPercentage(Integer inMemoryPercentage)
The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous
Database.
|
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 |
isDevTier(Boolean isDevTier)
Autonomous Database for Developers are fixed-shape Autonomous Databases that developers
can use to build and test new applications.
|
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 of Oracle Vault.
|
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 |
localAdgAutoFailoverMaxDataLossLimit(Integer localAdgAutoFailoverMaxDataLossLimit)
Parameter that allows users to select an acceptable maximum data loss limit in seconds,
up to which Automatic Failover will be triggered when necessary for a Local Autonomous
Data Guard
|
AutonomousDatabase.Builder |
localDisasterRecoveryType(DisasterRecoveryConfiguration.DisasterRecoveryType localDisasterRecoveryType)
Indicates the local disaster recovery (DR) type of the Autonomous Database Serverless
instance.
|
AutonomousDatabase.Builder |
localStandbyDb(AutonomousDatabaseStandbySummary localStandbyDb) |
AutonomousDatabase.Builder |
longTermBackupSchedule(LongTermBackUpScheduleDetails longTermBackupSchedule) |
AutonomousDatabase.Builder |
memoryPerOracleComputeUnitInGBs(Integer memoryPerOracleComputeUnitInGBs)
The amount of memory (in GBs) enabled per ECPU or OCPU.
|
AutonomousDatabase.Builder |
ncharacterSet(String ncharacterSet)
The national character set for the autonomous database.
|
AutonomousDatabase.Builder |
netServicesArchitecture(AutonomousDatabase.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.
|
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 |
publicConnectionUrls(AutonomousDatabaseConnectionUrls publicConnectionUrls)
The Public URLs of Private Endpoint database for accessing Oracle Application Express
(APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or
that has a direct connection to your VCN.
|
AutonomousDatabase.Builder |
publicEndpoint(String publicEndpoint)
The public endpoint for the private endpoint enabled resource.
|
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 |
resourcePoolLeaderId(String resourcePoolLeaderId)
The unique identifier for leader autonomous database OCID
OCID.
|
AutonomousDatabase.Builder |
resourcePoolSummary(ResourcePoolSummary resourcePoolSummary) |
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 |
securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource.
|
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 |
subscriptionId(String subscriptionId)
The OCID of the
subscription with which resource needs to be 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 |
timeOfAutoRefreshStart(Date timeOfAutoRefreshStart)
The the date and time that auto-refreshing will begin for an Autonomous Database
refreshable clone.
|
AutonomousDatabase.Builder |
timeOfJoiningResourcePool(Date timeOfJoiningResourcePool)
The time the member joined the resource pool.
|
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 |
timeUndeleted(Date timeUndeleted)
The date and time the Autonomous Database was most recently undeleted.
|
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 for Autonomous Databases in dedicated
infrastructure, 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 subscriptionId(String subscriptionId)
The OCID of the subscription with which resource needs to be associated with.
subscriptionId
- 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)
The OCID of the
Oracle Cloud Infrastructure
vault.
This parameter and secretId
are required for Customer Managed Keys.
vaultId
- the value to setpublic AutonomousDatabase.Builder kmsKeyLifecycleDetails(String kmsKeyLifecycleDetails)
KMS key lifecycle details.
kmsKeyLifecycleDetails
- the value to setpublic AutonomousDatabase.Builder encryptionKey(AutonomousDatabaseEncryptionKeyDetails encryptionKey)
public 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. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
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 inMemoryPercentage(Integer inMemoryPercentage)
The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform.
inMemoryPercentage
- the value to setpublic AutonomousDatabase.Builder inMemoryAreaInGBs(Integer inMemoryAreaInGBs)
The area assigned to In-Memory tables in Autonomous Database.
inMemoryAreaInGBs
- 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 encryptionKeyHistoryEntry(List<AutonomousDatabaseEncryptionKeyHistoryEntry> encryptionKeyHistoryEntry)
Key History Entry.
encryptionKeyHistoryEntry
- the value to setpublic AutonomousDatabase.Builder cpuCoreCount(Integer cpuCoreCount)
The number of CPU cores to be made available to the database. When the ECPU is selected, the value for cpuCoreCount is 0. For Autonomous Database 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 localAdgAutoFailoverMaxDataLossLimit(Integer localAdgAutoFailoverMaxDataLossLimit)
Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard
localAdgAutoFailoverMaxDataLossLimit
- 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. ECPU compute model is the recommended model and
OCPU compute model is legacy.
computeModel
- the value to setpublic AutonomousDatabase.Builder computeCount(Float computeCount)
The compute amount (CPUs) available to the database. Minimum and maximum values depend on
the compute model and whether the database is an Autonomous Database Serverless instance
or an Autonomous Database on Dedicated Exadata Infrastructure. The ‘ECPU’ compute model
requires a minimum value of one, for databases in the elastic resource pool and minimum
value of two, otherwise. Required when using the computeModel
parameter. When
using cpuCoreCount
parameter, it is an error to specify computeCount to a
non-null value. Providing computeModel
and computeCount
is the preferred
method for both OCPU and ECPU.
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 Database Serverless instances.) - To provision cores, 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 serverless and dedicated Exadata infrastructure. - For Autonomous Database Serverless instances, this parameter is not used.
For Autonomous Databases on Dedicated Exadata Infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbde/index.html) 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.
The following points apply to Autonomous Databases on Serverless Infrastructure: -
This is an integer field whose value remains null when the data size is in GBs and cannot
be converted to TBs (by dividing the GB value by 1024) without rounding error. - To get
the exact value of data storage size without rounding error, please see dataStorageSizeInGBs
of Autonomous Database.
dataStorageSizeInTBs
- the value to setpublic AutonomousDatabase.Builder memoryPerOracleComputeUnitInGBs(Integer memoryPerOracleComputeUnitInGBs)
The amount of memory (in GBs) enabled per ECPU or OCPU.
memoryPerOracleComputeUnitInGBs
- the value to setpublic AutonomousDatabase.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
The quantity of data in the database, in gigabytes.
For Autonomous Transaction Processing databases using ECPUs on Serverless
Infrastructure, this value is always populated. In all the other cases, this value will
be null and dataStorageSizeInTBs
will be populated instead.
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. Used only by Autonomous Database on Dedicated Exadata Infrastructure.
autonomousContainerDatabaseId
- the value to setpublic AutonomousDatabase.Builder timeUndeleted(Date timeUndeleted)
The date and time the Autonomous Database was most recently undeleted.
timeUndeleted
- 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 publicConnectionUrls(AutonomousDatabaseConnectionUrls publicConnectionUrls)
The Public URLs of Private Endpoint database for accessing Oracle Application Express (APEX) and SQL Developer Web with a browser from a Compute instance within your VCN or that has a direct connection to your VCN.
publicConnectionUrls
- the value to setpublic 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 services in the cloud. License Included allows you to
subscribe to new Oracle Database software licenses and the Oracle Database service. Note
that when provisioning an Autonomous Database on dedicated Exadata
infrastructure,
this attribute must be null. It is already set at the Autonomous Exadata Infrastructure
level. When provisioning an [Autonomous Database Serverless]
(https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) database, if a
value is not specified, the system defaults the value to BRING_YOUR_OWN_LICENSE
.
Bring your own license (BYOL) also allows you to select the DB edition using the optional
parameter.
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
licenseModel
- the value to setpublic AutonomousDatabase.Builder byolComputeCountLimit(Float byolComputeCountLimit)
The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered as License Included and billed.
byolComputeCountLimit
- the value to setpublic AutonomousDatabase.Builder usedDataStorageSizeInTBs(Integer usedDataStorageSizeInTBs)
The amount of storage that has been used for Autonomous Databases in dedicated infrastructure, 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 securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security Attributes for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource
Tags.
Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}
securityAttributes
- 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 publicEndpoint(String publicEndpoint)
The public endpoint for the private endpoint enabled resource.
publicEndpoint
- the value to setpublic AutonomousDatabase.Builder privateEndpointLabel(String privateEndpointLabel)
The resource’s private endpoint label. - Setting the endpoint label to a non-empty string creates a private endpoint database. - Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database. - Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.
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 isDevTier(Boolean isDevTier)
Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.
isDevTier
- 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. For Autonomous Database Serverless instances, whitelistedIps
is used.
isAccessControlEnabled
- the value to setpublic AutonomousDatabase.Builder whitelistedIps(List<String> whitelistedIps)
The client IP access control list (ACL). This feature is available for [Autonomous
Database Serverless]
(https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata
Cloud@Customer. Only clients connecting from an IP address included in the ACL may access
the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed
is ‘TRUE’ then
Autonomous Database uses this primary’s IP access control list (ACL) for the disaster
recovery peer called standbywhitelistedips
.
For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain
routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID).
Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if
it’s other configurations that need multiple pieces of information then its each
piece is connected with semicolon (;) as a delimiter. 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 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
Database Serverless]
(https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata
Cloud@Customer. Only clients connecting from an IP address included in the ACL may access
the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed
is ‘TRUE’ then
Autonomous Database uses this primary’s IP access control list (ACL) for the disaster
recovery peer called standbywhitelistedips
.
For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain
routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID).
Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if
it’s other configurations that need multiple pieces of information then its each
piece is connected with semicolon (;) as a delimiter. 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 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. The
default value is TRUE
.
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 of Oracle Vault.
keyStoreId
- the value to setpublic AutonomousDatabase.Builder keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
keyStoreWalletName
- the value to setpublic AutonomousDatabase.Builder autoRefreshFrequencyInSeconds(Integer autoRefreshFrequencyInSeconds)
The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum
is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is
controlled by the timeOfAutoRefreshStart
parameter.
autoRefreshFrequencyInSeconds
- the value to setpublic AutonomousDatabase.Builder autoRefreshPointLagInSeconds(Integer autoRefreshPointLagInSeconds)
The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens.
autoRefreshPointLagInSeconds
- the value to setpublic AutonomousDatabase.Builder timeOfAutoRefreshStart(Date timeOfAutoRefreshStart)
The the date and time that auto-refreshing will begin for an Autonomous Database
refreshable clone. This value controls only the start time for the first refresh
operation. Subsequent (ongoing) refresh operations have start times controlled by the
value of the autoRefreshFrequencyInSeconds
parameter.
timeOfAutoRefreshStart
- 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)
Deprecated. The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless, Autonomous 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 Autonomous 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 Autonomous Data Guard association, and cannot be performed when the database using the primary role is operating in a remote Autonomous 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 Autonomous Database Serverless instances, 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, 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 Database Serverless. 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 timeOfJoiningResourcePool(Date timeOfJoiningResourcePool)
The time the member joined the resource pool.
timeOfJoiningResourcePool
- the value to setpublic AutonomousDatabase.Builder resourcePoolLeaderId(String resourcePoolLeaderId)
The unique identifier for leader autonomous database OCID OCID.
resourcePoolLeaderId
- the value to setpublic AutonomousDatabase.Builder resourcePoolSummary(ResourcePoolSummary resourcePoolSummary)
public 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 Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle
autonomousMaintenanceScheduleType
- the value to setpublic AutonomousDatabase.Builder scheduledOperations(List<ScheduledOperationDetails> scheduledOperations)
The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.
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 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 Autonomous Database Serverless instance. 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)
Deprecated. The disaster recovery (DR) region type of the Autonomous Database. For Autonomous Database Serverless instances, 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.Builder netServicesArchitecture(AutonomousDatabase.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 AutonomousDatabase.Builder availabilityDomain(String availabilityDomain)
The availability domain where the Autonomous Database Serverless instance is located.
availabilityDomain
- the value to setpublic AutonomousDatabase.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
The OCID of the cluster placement group of the Autonomous Serverless Database.
clusterPlacementGroupId
- the value to setpublic AutonomousDatabase build()
public AutonomousDatabase.Builder copy(AutonomousDatabase model)
Copyright © 2016–2024. All rights reserved.