@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabase extends Object
An Oracle Autonomous Database.
Note: Objects should always be created or deserialized using the AutonomousDatabase.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 the AutonomousDatabase.Builder, which maintain a set of all explicitly set fields called __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
AutonomousDatabase.Builder |
static class |
AutonomousDatabase.DbWorkload
The Autonomous Database workload type.
|
static class |
AutonomousDatabase.LicenseModel
The Oracle license model that applies to the Oracle Autonomous Database.
|
static class |
AutonomousDatabase.LifecycleState
The current state of the database.
|
| Constructor and Description |
|---|
AutonomousDatabase(String id,
String compartmentId,
AutonomousDatabase.LifecycleState lifecycleState,
String lifecycleDetails,
String dbName,
Boolean isFreeTier,
Map<String,Map<String,Object>> systemTags,
Date timeReclamationOfFreeAutonomousDatabase,
Date timeDeletionOfFreeAutonomousDatabase,
Integer cpuCoreCount,
Integer dataStorageSizeInTBs,
Boolean isDedicated,
String autonomousContainerDatabaseId,
Date timeCreated,
String displayName,
String serviceConsoleUrl,
AutonomousDatabaseConnectionStrings connectionStrings,
AutonomousDatabaseConnectionUrls connectionUrls,
AutonomousDatabase.LicenseModel licenseModel,
Integer usedDataStorageSizeInTBs,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String dbVersion,
Boolean isPreview,
AutonomousDatabase.DbWorkload dbWorkload,
List<String> whitelistedIps,
Boolean isAutoScalingEnabled)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AutonomousDatabase.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAutonomousContainerDatabaseId()
The Autonomous Container Database OCID.
|
String |
getCompartmentId()
The OCID of the compartment.
|
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.
|
Integer |
getDataStorageSizeInTBs()
The quantity of data in the database, in terabytes.
|
String |
getDbName()
The database name.
|
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.
|
String |
getDisplayName()
The user-friendly name for the Autonomous Database.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getId()
The OCID of the Autonomous Database.
|
Boolean |
getIsAutoScalingEnabled()
Indicates if auto scaling is enabled for the Autonomous Database CPU core count.
|
Boolean |
getIsDedicated()
True if the database uses the dedicated deployment option.
|
Boolean |
getIsFreeTier()
Indicates if this is an Always Free resource.
|
Boolean |
getIsPreview()
Indicates if the Autonomous Database version is a preview version.
|
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 database.
|
String |
getServiceConsoleUrl()
The URL of the Service Console for the Autonomous Database.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
Date |
getTimeCreated()
The date and time the database was created.
|
Date |
getTimeDeletionOfFreeAutonomousDatabase()
The date and time the Always Free database will be automatically deleted because of inactivity.
|
Date |
getTimeReclamationOfFreeAutonomousDatabase()
The date and time the Always Free database will be stopped because of inactivity.
|
Integer |
getUsedDataStorageSizeInTBs()
The amount of storage that has been used, in terabytes.
|
List<String> |
getWhitelistedIps()
The client IP access control list (ACL).
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","lifecycleState","lifecycleDetails","dbName","isFreeTier","systemTags","timeReclamationOfFreeAutonomousDatabase","timeDeletionOfFreeAutonomousDatabase","cpuCoreCount","dataStorageSizeInTBs","isDedicated","autonomousContainerDatabaseId","timeCreated","displayName","serviceConsoleUrl","connectionStrings","connectionUrls","licenseModel","usedDataStorageSizeInTBs","freeformTags","definedTags","dbVersion","isPreview","dbWorkload","whitelistedIps","isAutoScalingEnabled"}) @Deprecated public AutonomousDatabase(String id, String compartmentId, AutonomousDatabase.LifecycleState lifecycleState, String lifecycleDetails, String dbName, Boolean isFreeTier, Map<String,Map<String,Object>> systemTags, Date timeReclamationOfFreeAutonomousDatabase, Date timeDeletionOfFreeAutonomousDatabase, Integer cpuCoreCount, Integer dataStorageSizeInTBs, Boolean isDedicated, String autonomousContainerDatabaseId, Date timeCreated, String displayName, String serviceConsoleUrl, AutonomousDatabaseConnectionStrings connectionStrings, AutonomousDatabaseConnectionUrls connectionUrls, AutonomousDatabase.LicenseModel licenseModel, Integer usedDataStorageSizeInTBs, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String dbVersion, Boolean isPreview, AutonomousDatabase.DbWorkload dbWorkload, List<String> whitelistedIps, Boolean isAutoScalingEnabled)
public static AutonomousDatabase.Builder builder()
Create a new builder.
public AutonomousDatabase.LifecycleState getLifecycleState()
The current state of the database.
public String getLifecycleDetails()
Information about the current lifecycle state.
public String getDbName()
The database name.
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 memory. For Always Free databases, memory and CPU cannot be scaled.
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.
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.
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.
public Integer getCpuCoreCount()
The number of CPU cores to be made available to the database.
public Integer getDataStorageSizeInTBs()
The quantity of data in the database, in terabytes.
public Boolean getIsDedicated()
True if the database uses the dedicated deployment option.
public String getAutonomousContainerDatabaseId()
The Autonomous Container Database OCID.
public Date getTimeCreated()
The date and time the database was created.
public String getDisplayName()
The user-friendly name for the Autonomous Database. The name does not have to be unique.
public String getServiceConsoleUrl()
The URL of the Service Console for the Autonomous Database.
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.
public AutonomousDatabaseConnectionUrls getConnectionUrls()
public AutonomousDatabase.LicenseModel getLicenseModel()
The Oracle license model that applies to the Oracle Autonomous Database. The default for Autonomous Database using the [shared deployment] is BRING_YOUR_OWN_LICENSE. Note that when provisioning an Autonomous Database using the dedicated deployment option, this attribute must be null because the attribute is already set on Autonomous Exadata Infrastructure level.
public Integer getUsedDataStorageSizeInTBs()
The amount of storage that has been used, in terabytes.
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\"}
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.
public String getDbVersion()
A valid Oracle Database version for Autonomous Database.
public Boolean getIsPreview()
Indicates if the Autonomous Database version is a preview version.
public AutonomousDatabase.DbWorkload getDbWorkload()
The Autonomous Database workload type. OLTP indicates an Autonomous Transaction Processing database and DW indicates an Autonomous Data Warehouse database.
public List<String> getWhitelistedIps()
The client IP access control list (ACL). This feature is available for serverless deployments only. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. This is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet.
public Boolean getIsAutoScalingEnabled()
Indicates if auto scaling is enabled for the Autonomous Database CPU core count. Note that auto scaling is available for serverless deployments only.
Copyright © 2016–2019. All rights reserved.