@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,
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,
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 it is dedicated database.
|
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.
|
Date |
getTimeCreated()
The date and time the database was created.
|
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","cpuCoreCount","dataStorageSizeInTBs","isDedicated","autonomousContainerDatabaseId","timeCreated","displayName","serviceConsoleUrl","connectionStrings","connectionUrls","licenseModel","usedDataStorageSizeInTBs","freeformTags","definedTags","dbVersion","dbWorkload","whitelistedIps","isAutoScalingEnabled"}) @Deprecated public AutonomousDatabase(String id, String compartmentId, AutonomousDatabase.LifecycleState lifecycleState, String lifecycleDetails, String dbName, 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, 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 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 it is dedicated database.
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 is BRING_YOUR_OWN_LICENSE.
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.
Example: {\"Operations\": {\"CostCenter\": \"42\"}}
public String getDbVersion()
A valid Oracle Database version for Autonomous Database.
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). 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.
Copyright © 2016–2019. All rights reserved.