Class AutonomousDatabase
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.AutonomousDatabase
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabase extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An Oracle Autonomous Database.
Note: Objects should always be created or deserialized using theAutonomousDatabase.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theAutonomousDatabase.Builder
, which maintain a set of all explicitly set fields calledAutonomousDatabase.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AutonomousDatabase.AutonomousMaintenanceScheduleType
The maintenance schedule type of the Autonomous Database Serverless.static class
AutonomousDatabase.Builder
static class
AutonomousDatabase.ComputeModel
The compute model of the Autonomous Database.static class
AutonomousDatabase.DatabaseEdition
The Oracle Database Edition that applies to the Autonomous databases.static class
AutonomousDatabase.DatabaseManagementStatus
Status of Database Management for this Autonomous Database.static class
AutonomousDatabase.DataguardRegionType
Deprecated. The Autonomous Data Guard region type of the Autonomous Database.static class
AutonomousDatabase.DataSafeStatus
Status of the Data Safe registration for this Autonomous Database.static class
AutonomousDatabase.DbWorkload
The Autonomous Database workload type.static class
AutonomousDatabase.DisasterRecoveryRegionType
Deprecated. The disaster recovery (DR) region type of the Autonomous Database.static class
AutonomousDatabase.InfrastructureType
The infrastructure type this resource belongs to.static class
AutonomousDatabase.LicenseModel
The Oracle license model that applies to the Oracle Autonomous Database.static class
AutonomousDatabase.LifecycleState
The current state of the Autonomous Database.static class
AutonomousDatabase.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.static class
AutonomousDatabase.OpenMode
Indicates the Autonomous Database mode.static class
AutonomousDatabase.OperationsInsightsStatus
Status of Operations Insights for this Autonomous Database.static class
AutonomousDatabase.PermissionLevel
The Autonomous Database permission level.static class
AutonomousDatabase.RefreshableMode
The refresh mode of the clone.static class
AutonomousDatabase.RefreshableStatus
The refresh status of the clone.static class
AutonomousDatabase.Role
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
-
Constructor Summary
Constructors Constructor Description AutonomousDatabase(String id, String compartmentId, String subscriptionId, AutonomousDatabase.LifecycleState lifecycleState, String lifecycleDetails, String kmsKeyId, String vaultId, String kmsKeyLifecycleDetails, AutonomousDatabaseEncryptionKeyDetails encryptionKey, String kmsKeyVersionId, String dbName, String characterSet, String ncharacterSet, Integer inMemoryPercentage, Integer inMemoryAreaInGBs, Date nextLongTermBackupTimeStamp, LongTermBackUpScheduleDetails longTermBackupSchedule, Boolean isFreeTier, Map<String,Map<String,Object>> systemTags, Date timeReclamationOfFreeAutonomousDatabase, Date timeDeletionOfFreeAutonomousDatabase, AutonomousDatabaseBackupConfig backupConfig, List<AutonomousDatabaseKeyHistoryEntry> keyHistoryEntry, List<AutonomousDatabaseEncryptionKeyHistoryEntry> encryptionKeyHistoryEntry, Integer cpuCoreCount, Integer localAdgAutoFailoverMaxDataLossLimit, AutonomousDatabase.ComputeModel computeModel, Float computeCount, Integer backupRetentionPeriodInDays, Double totalBackupStorageSizeInGBs, Float ocpuCount, List<Float> provisionableCpus, Integer dataStorageSizeInTBs, Integer memoryPerOracleComputeUnitInGBs, Integer dataStorageSizeInGBs, Integer usedDataStorageSizeInGBs, AutonomousDatabase.InfrastructureType infrastructureType, Boolean isDedicated, String autonomousContainerDatabaseId, Boolean isBackupRetentionLocked, Date timeUndeleted, Date timeCreated, String displayName, String serviceConsoleUrl, AutonomousDatabaseConnectionStrings connectionStrings, AutonomousDatabaseConnectionUrls connectionUrls, AutonomousDatabaseConnectionUrls publicConnectionUrls, AutonomousDatabase.LicenseModel licenseModel, Float byolComputeCountLimit, Integer usedDataStorageSizeInTBs, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String subnetId, List<String> nsgIds, String privateEndpoint, String publicEndpoint, String privateEndpointLabel, String privateEndpointIp, String dbVersion, Boolean isPreview, AutonomousDatabase.DbWorkload dbWorkload, Boolean isDevTier, Boolean isAccessControlEnabled, List<String> whitelistedIps, Boolean arePrimaryWhitelistedIpsUsed, List<String> standbyWhitelistedIps, AutonomousDatabaseApex apexDetails, Boolean isAutoScalingEnabled, AutonomousDatabase.DataSafeStatus dataSafeStatus, AutonomousDatabase.OperationsInsightsStatus operationsInsightsStatus, AutonomousDatabase.DatabaseManagementStatus databaseManagementStatus, Date timeMaintenanceBegin, Date timeMaintenanceEnd, String maintenanceTargetComponent, Boolean isRefreshableClone, Date timeOfLastRefresh, Date timeOfLastRefreshPoint, Date timeOfNextRefresh, AutonomousDatabase.OpenMode openMode, AutonomousDatabase.RefreshableStatus refreshableStatus, AutonomousDatabase.RefreshableMode refreshableMode, String sourceId, AutonomousDatabase.PermissionLevel permissionLevel, Date timeOfLastSwitchover, Date timeOfLastFailover, Boolean isDataGuardEnabled, Integer failedDataRecoveryInSeconds, AutonomousDatabaseStandbySummary standbyDb, Boolean isLocalDataGuardEnabled, Boolean isRemoteDataGuardEnabled, AutonomousDatabaseStandbySummary localStandbyDb, AutonomousDatabase.Role role, List<String> availableUpgradeVersions, String keyStoreId, String keyStoreWalletName, Integer autoRefreshFrequencyInSeconds, Integer autoRefreshPointLagInSeconds, Date timeOfAutoRefreshStart, List<String> supportedRegionsToCloneTo, List<CustomerContact> customerContacts, Date timeLocalDataGuardEnabled, AutonomousDatabase.DataguardRegionType dataguardRegionType, Date timeDataGuardRoleChanged, List<String> peerDbIds, Boolean isMtlsConnectionRequired, Date timeOfJoiningResourcePool, String resourcePoolLeaderId, ResourcePoolSummary resourcePoolSummary, Boolean isReconnectCloneEnabled, Date timeUntilReconnectCloneEnabled, AutonomousDatabase.AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType, List<ScheduledOperationDetails> scheduledOperations, Boolean isAutoScalingForStorageEnabled, Double allocatedStorageSizeInTBs, Double actualUsedDataStorageSizeInTBs, AutonomousDatabase.DatabaseEdition databaseEdition, List<DatabaseTool> dbToolsDetails, DisasterRecoveryConfiguration.DisasterRecoveryType localDisasterRecoveryType, AutonomousDatabase.DisasterRecoveryRegionType disasterRecoveryRegionType, Date timeDisasterRecoveryRoleChanged, DisasterRecoveryConfiguration remoteDisasterRecoveryConfiguration, AutonomousDatabase.NetServicesArchitecture netServicesArchitecture, String availabilityDomain, String clusterPlacementGroupId, List<Integer> cloneTableSpaceList)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutonomousDatabase.Builder
builder()
Create a new builder.boolean
equals(Object o)
Double
getActualUsedDataStorageSizeInTBs()
The current amount of storage in use for user and system data, in terabytes (TB).Double
getAllocatedStorageSizeInTBs()
The amount of storage currently allocated for the database tables and billed for, rounded up.AutonomousDatabaseApex
getApexDetails()
Information about Oracle APEX Application Development.Boolean
getArePrimaryWhitelistedIpsUsed()
This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled.String
getAutonomousContainerDatabaseId()
The Autonomous Container Database OCID.AutonomousDatabase.AutonomousMaintenanceScheduleType
getAutonomousMaintenanceScheduleType()
The maintenance schedule type of the Autonomous Database Serverless.Integer
getAutoRefreshFrequencyInSeconds()
The frequency a refreshable clone is refreshed after auto-refresh is enabled.Integer
getAutoRefreshPointLagInSeconds()
The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh.String
getAvailabilityDomain()
The availability domain where the Autonomous Database Serverless instance is located.List<String>
getAvailableUpgradeVersions()
List of Oracle Database versions available for a database upgrade.AutonomousDatabaseBackupConfig
getBackupConfig()
Integer
getBackupRetentionPeriodInDays()
Retention period, in days, for long-term backupsFloat
getByolComputeCountLimit()
The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc.String
getCharacterSet()
The character set for the autonomous database.List<Integer>
getCloneTableSpaceList()
A list of the source Autonomous Database’s table space number(s) used to create this partial clone from the backup.String
getClusterPlacementGroupId()
The OCID of the cluster placement group of the Autonomous Serverless Database.String
getCompartmentId()
The OCID of the compartment.Float
getComputeCount()
The compute amount (CPUs) available to the database.AutonomousDatabase.ComputeModel
getComputeModel()
The compute model of the Autonomous Database.AutonomousDatabaseConnectionStrings
getConnectionStrings()
The connection string used to connect to the Autonomous Database.AutonomousDatabaseConnectionUrls
getConnectionUrls()
Integer
getCpuCoreCount()
The number of CPU cores to be made available to the database.List<CustomerContact>
getCustomerContacts()
Customer Contacts.AutonomousDatabase.DatabaseEdition
getDatabaseEdition()
The Oracle Database Edition that applies to the Autonomous databases.AutonomousDatabase.DatabaseManagementStatus
getDatabaseManagementStatus()
Status of Database Management for this Autonomous Database.AutonomousDatabase.DataguardRegionType
getDataguardRegionType()
Deprecated. The Autonomous Data Guard region type of the Autonomous Database.AutonomousDatabase.DataSafeStatus
getDataSafeStatus()
Status of the Data Safe registration for this Autonomous Database.Integer
getDataStorageSizeInGBs()
The quantity of data in the database, in gigabytes.Integer
getDataStorageSizeInTBs()
The quantity of data in the database, in terabytes.String
getDbName()
The database name.List<DatabaseTool>
getDbToolsDetails()
The list of database tools details.String
getDbVersion()
A valid Oracle Database version for Autonomous Database.AutonomousDatabase.DbWorkload
getDbWorkload()
The Autonomous Database workload type.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.AutonomousDatabase.DisasterRecoveryRegionType
getDisasterRecoveryRegionType()
Deprecated. The disaster recovery (DR) region type of the Autonomous Database.String
getDisplayName()
The user-friendly name for the Autonomous Database.AutonomousDatabaseEncryptionKeyDetails
getEncryptionKey()
List<AutonomousDatabaseEncryptionKeyHistoryEntry>
getEncryptionKeyHistoryEntry()
Key History Entry.Integer
getFailedDataRecoveryInSeconds()
Indicates the number of seconds of data loss for a Data Guard failover.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getId()
The OCID of the Autonomous Database.AutonomousDatabase.InfrastructureType
getInfrastructureType()
The infrastructure type this resource belongs to.Integer
getInMemoryAreaInGBs()
The area assigned to In-Memory tables in Autonomous Database.Integer
getInMemoryPercentage()
The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database.Boolean
getIsAccessControlEnabled()
Indicates if the database-level access control is enabled.Boolean
getIsAutoScalingEnabled()
Indicates if auto scaling is enabled for the Autonomous Database CPU core count.Boolean
getIsAutoScalingForStorageEnabled()
Indicates if auto scaling is enabled for the Autonomous Database storage.Boolean
getIsBackupRetentionLocked()
Indicates if the Autonomous Database is backup retention locked.Boolean
getIsDataGuardEnabled()
Deprecated. Indicates whether the Autonomous Database has local (in-region) Data Guard enabled.Boolean
getIsDedicated()
True if the database uses dedicated Exadata infrastructure.Boolean
getIsDevTier()
Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications.Boolean
getIsFreeTier()
Indicates if this is an Always Free resource.Boolean
getIsLocalDataGuardEnabled()
Indicates whether the Autonomous Database has local (in-region) Data Guard enabled.Boolean
getIsMtlsConnectionRequired()
Specifies if the Autonomous Database requires mTLS connections.Boolean
getIsPreview()
Indicates if the Autonomous Database version is a preview version.Boolean
getIsReconnectCloneEnabled()
Indicates if the refreshable clone can be reconnected to its source database.Boolean
getIsRefreshableClone()
Indicates if the Autonomous Database is a refreshable clone.Boolean
getIsRemoteDataGuardEnabled()
Indicates whether the Autonomous Database has Cross Region Data Guard enabled.List<AutonomousDatabaseKeyHistoryEntry>
getKeyHistoryEntry()
Key History Entry.String
getKeyStoreId()
The OCID of the key store of Oracle Vault.String
getKeyStoreWalletName()
The wallet name for Oracle Key Vault.String
getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.String
getKmsKeyLifecycleDetails()
KMS key lifecycle details.String
getKmsKeyVersionId()
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.LicenseModel
getLicenseModel()
The Oracle license model that applies to the Oracle Autonomous Database.String
getLifecycleDetails()
Information about the current lifecycle state.AutonomousDatabase.LifecycleState
getLifecycleState()
The current state of the Autonomous Database.Integer
getLocalAdgAutoFailoverMaxDataLossLimit()
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 GuardDisasterRecoveryConfiguration.DisasterRecoveryType
getLocalDisasterRecoveryType()
Indicates the local disaster recovery (DR) type of the Autonomous Database Serverless instance.AutonomousDatabaseStandbySummary
getLocalStandbyDb()
LongTermBackUpScheduleDetails
getLongTermBackupSchedule()
String
getMaintenanceTargetComponent()
The component chosen for maintenance.Integer
getMemoryPerOracleComputeUnitInGBs()
The amount of memory (in GBs) enabled per ECPU or OCPU.String
getNcharacterSet()
The national character set for the autonomous database.AutonomousDatabase.NetServicesArchitecture
getNetServicesArchitecture()
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.Date
getNextLongTermBackupTimeStamp()
The date and time when the next long-term backup would be created.List<String>
getNsgIds()
The list of OCIDs for the network security groups (NSGs) to which this resource belongs.Float
getOcpuCount()
The number of OCPU cores to be made available to the database.AutonomousDatabase.OpenMode
getOpenMode()
Indicates the Autonomous Database mode.AutonomousDatabase.OperationsInsightsStatus
getOperationsInsightsStatus()
Status of Operations Insights for this Autonomous Database.List<String>
getPeerDbIds()
The list of OCIDs of standby databases located in Autonomous Data Guard remote regions that are associated with the source database.AutonomousDatabase.PermissionLevel
getPermissionLevel()
The Autonomous Database permission level.String
getPrivateEndpoint()
The private endpoint for the resource.String
getPrivateEndpointIp()
The private endpoint Ip address for the resource.String
getPrivateEndpointLabel()
The resource’s private endpoint label.List<Float>
getProvisionableCpus()
An array of CPU values that an Autonomous Database can be scaled to.AutonomousDatabaseConnectionUrls
getPublicConnectionUrls()
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.String
getPublicEndpoint()
The public endpoint for the private endpoint enabled resource.AutonomousDatabase.RefreshableMode
getRefreshableMode()
The refresh mode of the clone.AutonomousDatabase.RefreshableStatus
getRefreshableStatus()
The refresh status of the clone.DisasterRecoveryConfiguration
getRemoteDisasterRecoveryConfiguration()
String
getResourcePoolLeaderId()
The unique identifier for leader autonomous database OCID OCID.ResourcePoolSummary
getResourcePoolSummary()
AutonomousDatabase.Role
getRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.List<ScheduledOperationDetails>
getScheduledOperations()
The list of scheduled operations.Map<String,Map<String,Object>>
getSecurityAttributes()
Security Attributes for this resource.String
getServiceConsoleUrl()
The URL of the Service Console for the Autonomous Database.String
getSourceId()
The OCID of the source Autonomous Database that was cloned to create the current Autonomous Database.AutonomousDatabaseStandbySummary
getStandbyDb()
Deprecated Autonomous Data Guard standby database details.List<String>
getStandbyWhitelistedIps()
The client IP access control list (ACL).String
getSubnetId()
The OCID of the subnet the resource is associated with.String
getSubscriptionId()
The OCID of the subscription with which resource needs to be associated with.List<String>
getSupportedRegionsToCloneTo()
The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.Map<String,Map<String,Object>>
getSystemTags()
System tags for this resource.Date
getTimeCreated()
The date and time the Autonomous Database was created.Date
getTimeDataGuardRoleChanged()
The date and time the Autonomous Data Guard role was switched for the Autonomous Database.Date
getTimeDeletionOfFreeAutonomousDatabase()
The date and time the Always Free database will be automatically deleted because of inactivity.Date
getTimeDisasterRecoveryRoleChanged()
The date and time the Disaster Recovery role was switched for the standby Autonomous Database.Date
getTimeLocalDataGuardEnabled()
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.Date
getTimeMaintenanceBegin()
The date and time when maintenance will begin.Date
getTimeMaintenanceEnd()
The date and time when maintenance will end.Date
getTimeOfAutoRefreshStart()
The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone.Date
getTimeOfJoiningResourcePool()
The time the member joined the resource pool.Date
getTimeOfLastFailover()
The timestamp of the last failover operation.Date
getTimeOfLastRefresh()
The date and time when last refresh happened.Date
getTimeOfLastRefreshPoint()
The refresh point timestamp (UTC).Date
getTimeOfLastSwitchover()
The timestamp of the last switchover operation for the Autonomous Database.Date
getTimeOfNextRefresh()
The date and time of next refresh.Date
getTimeReclamationOfFreeAutonomousDatabase()
The date and time the Always Free database will be stopped because of inactivity.Date
getTimeUndeleted()
The date and time the Autonomous Database was most recently undeleted.Date
getTimeUntilReconnectCloneEnabled()
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.Double
getTotalBackupStorageSizeInGBs()
The backup storage to the database.Integer
getUsedDataStorageSizeInGBs()
The storage space consumed by Autonomous Database in GBs.Integer
getUsedDataStorageSizeInTBs()
The amount of storage that has been used for Autonomous Databases in dedicated infrastructure, in terabytes.String
getVaultId()
List<String>
getWhitelistedIps()
The client IP access control list (ACL).int
hashCode()
AutonomousDatabase.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AutonomousDatabase
@Deprecated @ConstructorProperties({"id","compartmentId","subscriptionId","lifecycleState","lifecycleDetails","kmsKeyId","vaultId","kmsKeyLifecycleDetails","encryptionKey","kmsKeyVersionId","dbName","characterSet","ncharacterSet","inMemoryPercentage","inMemoryAreaInGBs","nextLongTermBackupTimeStamp","longTermBackupSchedule","isFreeTier","systemTags","timeReclamationOfFreeAutonomousDatabase","timeDeletionOfFreeAutonomousDatabase","backupConfig","keyHistoryEntry","encryptionKeyHistoryEntry","cpuCoreCount","localAdgAutoFailoverMaxDataLossLimit","computeModel","computeCount","backupRetentionPeriodInDays","totalBackupStorageSizeInGBs","ocpuCount","provisionableCpus","dataStorageSizeInTBs","memoryPerOracleComputeUnitInGBs","dataStorageSizeInGBs","usedDataStorageSizeInGBs","infrastructureType","isDedicated","autonomousContainerDatabaseId","isBackupRetentionLocked","timeUndeleted","timeCreated","displayName","serviceConsoleUrl","connectionStrings","connectionUrls","publicConnectionUrls","licenseModel","byolComputeCountLimit","usedDataStorageSizeInTBs","freeformTags","definedTags","securityAttributes","subnetId","nsgIds","privateEndpoint","publicEndpoint","privateEndpointLabel","privateEndpointIp","dbVersion","isPreview","dbWorkload","isDevTier","isAccessControlEnabled","whitelistedIps","arePrimaryWhitelistedIpsUsed","standbyWhitelistedIps","apexDetails","isAutoScalingEnabled","dataSafeStatus","operationsInsightsStatus","databaseManagementStatus","timeMaintenanceBegin","timeMaintenanceEnd","maintenanceTargetComponent","isRefreshableClone","timeOfLastRefresh","timeOfLastRefreshPoint","timeOfNextRefresh","openMode","refreshableStatus","refreshableMode","sourceId","permissionLevel","timeOfLastSwitchover","timeOfLastFailover","isDataGuardEnabled","failedDataRecoveryInSeconds","standbyDb","isLocalDataGuardEnabled","isRemoteDataGuardEnabled","localStandbyDb","role","availableUpgradeVersions","keyStoreId","keyStoreWalletName","autoRefreshFrequencyInSeconds","autoRefreshPointLagInSeconds","timeOfAutoRefreshStart","supportedRegionsToCloneTo","customerContacts","timeLocalDataGuardEnabled","dataguardRegionType","timeDataGuardRoleChanged","peerDbIds","isMtlsConnectionRequired","timeOfJoiningResourcePool","resourcePoolLeaderId","resourcePoolSummary","isReconnectCloneEnabled","timeUntilReconnectCloneEnabled","autonomousMaintenanceScheduleType","scheduledOperations","isAutoScalingForStorageEnabled","allocatedStorageSizeInTBs","actualUsedDataStorageSizeInTBs","databaseEdition","dbToolsDetails","localDisasterRecoveryType","disasterRecoveryRegionType","timeDisasterRecoveryRoleChanged","remoteDisasterRecoveryConfiguration","netServicesArchitecture","availabilityDomain","clusterPlacementGroupId","cloneTableSpaceList"}) public AutonomousDatabase(String id, String compartmentId, String subscriptionId, AutonomousDatabase.LifecycleState lifecycleState, String lifecycleDetails, String kmsKeyId, String vaultId, String kmsKeyLifecycleDetails, AutonomousDatabaseEncryptionKeyDetails encryptionKey, String kmsKeyVersionId, String dbName, String characterSet, String ncharacterSet, Integer inMemoryPercentage, Integer inMemoryAreaInGBs, Date nextLongTermBackupTimeStamp, LongTermBackUpScheduleDetails longTermBackupSchedule, Boolean isFreeTier, Map<String,Map<String,Object>> systemTags, Date timeReclamationOfFreeAutonomousDatabase, Date timeDeletionOfFreeAutonomousDatabase, AutonomousDatabaseBackupConfig backupConfig, List<AutonomousDatabaseKeyHistoryEntry> keyHistoryEntry, List<AutonomousDatabaseEncryptionKeyHistoryEntry> encryptionKeyHistoryEntry, Integer cpuCoreCount, Integer localAdgAutoFailoverMaxDataLossLimit, AutonomousDatabase.ComputeModel computeModel, Float computeCount, Integer backupRetentionPeriodInDays, Double totalBackupStorageSizeInGBs, Float ocpuCount, List<Float> provisionableCpus, Integer dataStorageSizeInTBs, Integer memoryPerOracleComputeUnitInGBs, Integer dataStorageSizeInGBs, Integer usedDataStorageSizeInGBs, AutonomousDatabase.InfrastructureType infrastructureType, Boolean isDedicated, String autonomousContainerDatabaseId, Boolean isBackupRetentionLocked, Date timeUndeleted, Date timeCreated, String displayName, String serviceConsoleUrl, AutonomousDatabaseConnectionStrings connectionStrings, AutonomousDatabaseConnectionUrls connectionUrls, AutonomousDatabaseConnectionUrls publicConnectionUrls, AutonomousDatabase.LicenseModel licenseModel, Float byolComputeCountLimit, Integer usedDataStorageSizeInTBs, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String subnetId, List<String> nsgIds, String privateEndpoint, String publicEndpoint, String privateEndpointLabel, String privateEndpointIp, String dbVersion, Boolean isPreview, AutonomousDatabase.DbWorkload dbWorkload, Boolean isDevTier, Boolean isAccessControlEnabled, List<String> whitelistedIps, Boolean arePrimaryWhitelistedIpsUsed, List<String> standbyWhitelistedIps, AutonomousDatabaseApex apexDetails, Boolean isAutoScalingEnabled, AutonomousDatabase.DataSafeStatus dataSafeStatus, AutonomousDatabase.OperationsInsightsStatus operationsInsightsStatus, AutonomousDatabase.DatabaseManagementStatus databaseManagementStatus, Date timeMaintenanceBegin, Date timeMaintenanceEnd, String maintenanceTargetComponent, Boolean isRefreshableClone, Date timeOfLastRefresh, Date timeOfLastRefreshPoint, Date timeOfNextRefresh, AutonomousDatabase.OpenMode openMode, AutonomousDatabase.RefreshableStatus refreshableStatus, AutonomousDatabase.RefreshableMode refreshableMode, String sourceId, AutonomousDatabase.PermissionLevel permissionLevel, Date timeOfLastSwitchover, Date timeOfLastFailover, Boolean isDataGuardEnabled, Integer failedDataRecoveryInSeconds, AutonomousDatabaseStandbySummary standbyDb, Boolean isLocalDataGuardEnabled, Boolean isRemoteDataGuardEnabled, AutonomousDatabaseStandbySummary localStandbyDb, AutonomousDatabase.Role role, List<String> availableUpgradeVersions, String keyStoreId, String keyStoreWalletName, Integer autoRefreshFrequencyInSeconds, Integer autoRefreshPointLagInSeconds, Date timeOfAutoRefreshStart, List<String> supportedRegionsToCloneTo, List<CustomerContact> customerContacts, Date timeLocalDataGuardEnabled, AutonomousDatabase.DataguardRegionType dataguardRegionType, Date timeDataGuardRoleChanged, List<String> peerDbIds, Boolean isMtlsConnectionRequired, Date timeOfJoiningResourcePool, String resourcePoolLeaderId, ResourcePoolSummary resourcePoolSummary, Boolean isReconnectCloneEnabled, Date timeUntilReconnectCloneEnabled, AutonomousDatabase.AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType, List<ScheduledOperationDetails> scheduledOperations, Boolean isAutoScalingForStorageEnabled, Double allocatedStorageSizeInTBs, Double actualUsedDataStorageSizeInTBs, AutonomousDatabase.DatabaseEdition databaseEdition, List<DatabaseTool> dbToolsDetails, DisasterRecoveryConfiguration.DisasterRecoveryType localDisasterRecoveryType, AutonomousDatabase.DisasterRecoveryRegionType disasterRecoveryRegionType, Date timeDisasterRecoveryRoleChanged, DisasterRecoveryConfiguration remoteDisasterRecoveryConfiguration, AutonomousDatabase.NetServicesArchitecture netServicesArchitecture, String availabilityDomain, String clusterPlacementGroupId, List<Integer> cloneTableSpaceList)
Deprecated.
-
-
Method Detail
-
builder
public static AutonomousDatabase.Builder builder()
Create a new builder.
-
toBuilder
public AutonomousDatabase.Builder toBuilder()
-
getSubscriptionId
public String getSubscriptionId()
The OCID of the subscription with which resource needs to be associated with.- Returns:
- the value
-
getLifecycleState
public AutonomousDatabase.LifecycleState getLifecycleState()
The current state of the Autonomous Database.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Information about the current lifecycle state.- Returns:
- the value
-
getKmsKeyId
public String getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.- Returns:
- the value
-
getVaultId
public String getVaultId()
The OCID of the Oracle Cloud Infrastructure vault.This parameter and secretId are required for Customer Managed Keys.
- Returns:
- the value
-
getKmsKeyLifecycleDetails
public String getKmsKeyLifecycleDetails()
KMS key lifecycle details.- Returns:
- the value
-
getEncryptionKey
public AutonomousDatabaseEncryptionKeyDetails getEncryptionKey()
-
getKmsKeyVersionId
public String getKmsKeyVersionId()
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.
- Returns:
- the value
-
getDbName
public String getDbName()
The database name.- Returns:
- the value
-
getCharacterSet
public String getCharacterSet()
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
- Returns:
- the value
-
getNcharacterSet
public String getNcharacterSet()
The national character set for the autonomous database.The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8.
- Returns:
- the value
-
getInMemoryPercentage
public Integer getInMemoryPercentage()
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.
- Returns:
- the value
-
getInMemoryAreaInGBs
public Integer getInMemoryAreaInGBs()
The area assigned to In-Memory tables in Autonomous Database.- Returns:
- the value
-
getNextLongTermBackupTimeStamp
public Date getNextLongTermBackupTimeStamp()
The date and time when the next long-term backup would be created.- Returns:
- the value
-
getLongTermBackupSchedule
public LongTermBackUpScheduleDetails getLongTermBackupSchedule()
-
getIsFreeTier
public Boolean getIsFreeTier()
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
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns:
- the value
-
getTimeReclamationOfFreeAutonomousDatabase
public Date getTimeReclamationOfFreeAutonomousDatabase()
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.
- Returns:
- the value
-
getTimeDeletionOfFreeAutonomousDatabase
public Date getTimeDeletionOfFreeAutonomousDatabase()
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.
- Returns:
- the value
-
getBackupConfig
public AutonomousDatabaseBackupConfig getBackupConfig()
-
getKeyHistoryEntry
public List<AutonomousDatabaseKeyHistoryEntry> getKeyHistoryEntry()
Key History Entry.- Returns:
- the value
-
getEncryptionKeyHistoryEntry
public List<AutonomousDatabaseEncryptionKeyHistoryEntry> getEncryptionKeyHistoryEntry()
Key History Entry.- Returns:
- the value
-
getCpuCoreCount
public Integer getCpuCoreCount()
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.
- Returns:
- the value
-
getLocalAdgAutoFailoverMaxDataLossLimit
public Integer getLocalAdgAutoFailoverMaxDataLossLimit()
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- Returns:
- the value
-
getComputeModel
public AutonomousDatabase.ComputeModel getComputeModel()
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.
- Returns:
- the value
-
getComputeCount
public Float getComputeCount()
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.
- Returns:
- the value
-
getBackupRetentionPeriodInDays
public Integer getBackupRetentionPeriodInDays()
Retention period, in days, for long-term backups- Returns:
- the value
-
getTotalBackupStorageSizeInGBs
public Double getTotalBackupStorageSizeInGBs()
The backup storage to the database.- Returns:
- the value
-
getOcpuCount
public Float getOcpuCount()
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.
- Returns:
- the value
-
getProvisionableCpus
public List<Float> getProvisionableCpus()
An array of CPU values that an Autonomous Database can be scaled to.- Returns:
- the value
-
getDataStorageSizeInTBs
public Integer getDataStorageSizeInTBs()
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.
- Returns:
- the value
-
getMemoryPerOracleComputeUnitInGBs
public Integer getMemoryPerOracleComputeUnitInGBs()
The amount of memory (in GBs) enabled per ECPU or OCPU.- Returns:
- the value
-
getDataStorageSizeInGBs
public Integer getDataStorageSizeInGBs()
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.
- Returns:
- the value
-
getUsedDataStorageSizeInGBs
public Integer getUsedDataStorageSizeInGBs()
The storage space consumed by Autonomous Database in GBs.- Returns:
- the value
-
getInfrastructureType
public AutonomousDatabase.InfrastructureType getInfrastructureType()
The infrastructure type this resource belongs to.- Returns:
- the value
-
getIsDedicated
public Boolean getIsDedicated()
True if the database uses dedicated Exadata infrastructure.- Returns:
- the value
-
getAutonomousContainerDatabaseId
public String getAutonomousContainerDatabaseId()
The Autonomous Container Database OCID.Used only by Autonomous Database on Dedicated Exadata Infrastructure.
- Returns:
- the value
-
getIsBackupRetentionLocked
public Boolean getIsBackupRetentionLocked()
Indicates if the Autonomous Database is backup retention locked.- Returns:
- the value
-
getTimeUndeleted
public Date getTimeUndeleted()
The date and time the Autonomous Database was most recently undeleted.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the Autonomous Database was created.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The user-friendly name for the Autonomous Database.The name does not have to be unique.
- Returns:
- the value
-
getServiceConsoleUrl
public String getServiceConsoleUrl()
The URL of the Service Console for the Autonomous Database.- Returns:
- the value
-
getConnectionStrings
public AutonomousDatabaseConnectionStrings getConnectionStrings()
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.
- Returns:
- the value
-
getConnectionUrls
public AutonomousDatabaseConnectionUrls getConnectionUrls()
-
getPublicConnectionUrls
public AutonomousDatabaseConnectionUrls getPublicConnectionUrls()
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.- Returns:
- the value
-
getLicenseModel
public AutonomousDatabase.LicenseModel getLicenseModel()
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.
- Returns:
- the value
-
getByolComputeCountLimit
public Float getByolComputeCountLimit()
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.
- Returns:
- the value
-
getUsedDataStorageSizeInTBs
public Integer getUsedDataStorageSizeInTBs()
The amount of storage that has been used for Autonomous Databases in dedicated infrastructure, in terabytes.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
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"}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns:
- the value
-
getSecurityAttributes
public Map<String,Map<String,Object>> getSecurityAttributes()
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”}}}
- Returns:
- the value
-
getSubnetId
public String getSubnetId()
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.
- Returns:
- the value
-
getNsgIds
public List<String> getNsgIds()
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.
- Returns:
- the value
-
getPrivateEndpoint
public String getPrivateEndpoint()
The private endpoint for the resource.- Returns:
- the value
-
getPublicEndpoint
public String getPublicEndpoint()
The public endpoint for the private endpoint enabled resource.- Returns:
- the value
-
getPrivateEndpointLabel
public String getPrivateEndpointLabel()
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.
- Returns:
- the value
-
getPrivateEndpointIp
public String getPrivateEndpointIp()
The private endpoint Ip address for the resource.- Returns:
- the value
-
getDbVersion
public String getDbVersion()
A valid Oracle Database version for Autonomous Database.- Returns:
- the value
-
getIsPreview
public Boolean getIsPreview()
Indicates if the Autonomous Database version is a preview version.- Returns:
- the value
-
getDbWorkload
public AutonomousDatabase.DbWorkload getDbWorkload()
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.
- Returns:
- the value
-
getIsDevTier
public Boolean getIsDevTier()
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.
- Returns:
- the value
-
getIsAccessControlEnabled
public Boolean getIsAccessControlEnabled()
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.
- Returns:
- the value
-
getWhitelistedIps
public List<String> getWhitelistedIps()
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\u2019s 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.
","ocid1.vcn.oc1.sea. ;1.1.1.1","ocid1.vcn.oc1.sea. ;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.
- Returns:
- the value
-
getArePrimaryWhitelistedIpsUsed
public Boolean getArePrimaryWhitelistedIpsUsed()
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.
- Returns:
- the value
-
getStandbyWhitelistedIps
public List<String> getStandbyWhitelistedIps()
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\u2019s 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.
","ocid1.vcn.oc1.sea. ;1.1.1.1","ocid1.vcn.oc1.sea. ;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.
- Returns:
- the value
-
getApexDetails
public AutonomousDatabaseApex getApexDetails()
Information about Oracle APEX Application Development.- Returns:
- the value
-
getIsAutoScalingEnabled
public Boolean getIsAutoScalingEnabled()
Indicates if auto scaling is enabled for the Autonomous Database CPU core count.The default value is TRUE.
- Returns:
- the value
-
getDataSafeStatus
public AutonomousDatabase.DataSafeStatus getDataSafeStatus()
Status of the Data Safe registration for this Autonomous Database.- Returns:
- the value
-
getOperationsInsightsStatus
public AutonomousDatabase.OperationsInsightsStatus getOperationsInsightsStatus()
Status of Operations Insights for this Autonomous Database.- Returns:
- the value
-
getDatabaseManagementStatus
public AutonomousDatabase.DatabaseManagementStatus getDatabaseManagementStatus()
Status of Database Management for this Autonomous Database.- Returns:
- the value
-
getTimeMaintenanceBegin
public Date getTimeMaintenanceBegin()
The date and time when maintenance will begin.- Returns:
- the value
-
getTimeMaintenanceEnd
public Date getTimeMaintenanceEnd()
The date and time when maintenance will end.- Returns:
- the value
-
getMaintenanceTargetComponent
public String getMaintenanceTargetComponent()
The component chosen for maintenance.- Returns:
- the value
-
getIsRefreshableClone
public Boolean getIsRefreshableClone()
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.
- Returns:
- the value
-
getTimeOfLastRefresh
public Date getTimeOfLastRefresh()
The date and time when last refresh happened.- Returns:
- the value
-
getTimeOfLastRefreshPoint
public Date getTimeOfLastRefreshPoint()
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.
- Returns:
- the value
-
getTimeOfNextRefresh
public Date getTimeOfNextRefresh()
The date and time of next refresh.- Returns:
- the value
-
getOpenMode
public AutonomousDatabase.OpenMode getOpenMode()
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.
- Returns:
- the value
-
getRefreshableStatus
public AutonomousDatabase.RefreshableStatus getRefreshableStatus()
The refresh status of the clone.REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.
- Returns:
- the value
-
getRefreshableMode
public AutonomousDatabase.RefreshableMode getRefreshableMode()
The refresh mode of the clone.AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.
- Returns:
- the value
-
getSourceId
public String getSourceId()
The OCID of the source Autonomous Database that was cloned to create the current Autonomous Database.- Returns:
- the value
-
getPermissionLevel
public AutonomousDatabase.PermissionLevel getPermissionLevel()
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.
- Returns:
- the value
-
getTimeOfLastSwitchover
public Date getTimeOfLastSwitchover()
The timestamp of the last switchover operation for the Autonomous Database.- Returns:
- the value
-
getTimeOfLastFailover
public Date getTimeOfLastFailover()
The timestamp of the last failover operation.- Returns:
- the value
-
getIsDataGuardEnabled
public Boolean getIsDataGuardEnabled()
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.
- Returns:
- the value
-
getFailedDataRecoveryInSeconds
public Integer getFailedDataRecoveryInSeconds()
Indicates the number of seconds of data loss for a Data Guard failover.- Returns:
- the value
-
getStandbyDb
public AutonomousDatabaseStandbySummary getStandbyDb()
Deprecated Autonomous Data Guard standby database details.- Returns:
- the value
-
getIsLocalDataGuardEnabled
public Boolean getIsLocalDataGuardEnabled()
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.
- Returns:
- the value
-
getIsRemoteDataGuardEnabled
public Boolean getIsRemoteDataGuardEnabled()
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.
- Returns:
- the value
-
getLocalStandbyDb
public AutonomousDatabaseStandbySummary getLocalStandbyDb()
-
getRole
public AutonomousDatabase.Role getRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.- Returns:
- the value
-
getAvailableUpgradeVersions
public List<String> getAvailableUpgradeVersions()
List of Oracle Database versions available for a database upgrade.If there are no version upgrades available, this list is empty.
- Returns:
- the value
-
getKeyStoreId
public String getKeyStoreId()
The OCID of the key store of Oracle Vault.- Returns:
- the value
-
getKeyStoreWalletName
public String getKeyStoreWalletName()
The wallet name for Oracle Key Vault.- Returns:
- the value
-
getAutoRefreshFrequencyInSeconds
public Integer getAutoRefreshFrequencyInSeconds()
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.
- Returns:
- the value
-
getAutoRefreshPointLagInSeconds
public Integer getAutoRefreshPointLagInSeconds()
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.
- Returns:
- the value
-
getTimeOfAutoRefreshStart
public Date getTimeOfAutoRefreshStart()
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.
- Returns:
- the value
-
getSupportedRegionsToCloneTo
public List<String> getSupportedRegionsToCloneTo()
The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database.- Returns:
- the value
-
getCustomerContacts
public List<CustomerContact> getCustomerContacts()
Customer Contacts.- Returns:
- the value
-
getTimeLocalDataGuardEnabled
public Date getTimeLocalDataGuardEnabled()
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.- Returns:
- the value
-
getDataguardRegionType
public AutonomousDatabase.DataguardRegionType getDataguardRegionType()
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.
- Returns:
- the value
-
getTimeDataGuardRoleChanged
public Date getTimeDataGuardRoleChanged()
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.
- Returns:
- the value
-
getPeerDbIds
public List<String> getPeerDbIds()
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.
- Returns:
- the value
-
getIsMtlsConnectionRequired
public Boolean getIsMtlsConnectionRequired()
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.
- Returns:
- the value
-
getTimeOfJoiningResourcePool
public Date getTimeOfJoiningResourcePool()
The time the member joined the resource pool.- Returns:
- the value
-
getResourcePoolLeaderId
public String getResourcePoolLeaderId()
The unique identifier for leader autonomous database OCID OCID.- Returns:
- the value
-
getResourcePoolSummary
public ResourcePoolSummary getResourcePoolSummary()
-
getIsReconnectCloneEnabled
public Boolean getIsReconnectCloneEnabled()
Indicates if the refreshable clone can be reconnected to its source database.- Returns:
- the value
-
getTimeUntilReconnectCloneEnabled
public Date getTimeUntilReconnectCloneEnabled()
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.- Returns:
- the value
-
getAutonomousMaintenanceScheduleType
public AutonomousDatabase.AutonomousMaintenanceScheduleType getAutonomousMaintenanceScheduleType()
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
- Returns:
- the value
-
getScheduledOperations
public List<ScheduledOperationDetails> getScheduledOperations()
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.
- Returns:
- the value
-
getIsAutoScalingForStorageEnabled
public Boolean getIsAutoScalingForStorageEnabled()
Indicates if auto scaling is enabled for the Autonomous Database storage.The default value is FALSE.
- Returns:
- the value
-
getAllocatedStorageSizeInTBs
public Double getAllocatedStorageSizeInTBs()
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.
- Returns:
- the value
-
getActualUsedDataStorageSizeInTBs
public Double getActualUsedDataStorageSizeInTBs()
The current amount of storage in use for user and system data, in terabytes (TB).- Returns:
- the value
-
getDatabaseEdition
public AutonomousDatabase.DatabaseEdition getDatabaseEdition()
The Oracle Database Edition that applies to the Autonomous databases.- Returns:
- the value
-
getDbToolsDetails
public List<DatabaseTool> getDbToolsDetails()
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.
- Returns:
- the value
-
getLocalDisasterRecoveryType
public DisasterRecoveryConfiguration.DisasterRecoveryType getLocalDisasterRecoveryType()
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.
- Returns:
- the value
-
getDisasterRecoveryRegionType
public AutonomousDatabase.DisasterRecoveryRegionType getDisasterRecoveryRegionType()
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.
- Returns:
- the value
-
getTimeDisasterRecoveryRoleChanged
public Date getTimeDisasterRecoveryRoleChanged()
The date and time the Disaster Recovery role was switched for the standby Autonomous Database.- Returns:
- the value
-
getRemoteDisasterRecoveryConfiguration
public DisasterRecoveryConfiguration getRemoteDisasterRecoveryConfiguration()
-
getNetServicesArchitecture
public AutonomousDatabase.NetServicesArchitecture getNetServicesArchitecture()
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.- Returns:
- the value
-
getAvailabilityDomain
public String getAvailabilityDomain()
The availability domain where the Autonomous Database Serverless instance is located.- Returns:
- the value
-
getClusterPlacementGroupId
public String getClusterPlacementGroupId()
The OCID of the cluster placement group of the Autonomous Serverless Database.- Returns:
- the value
-
getCloneTableSpaceList
public List<Integer> getCloneTableSpaceList()
A list of the source Autonomous Database’s table space number(s) used to create this partial clone from the backup.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-