Class AutonomousDatabase

java.lang.Object
software.amazon.awssdk.services.odb.model.AutonomousDatabase
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<AutonomousDatabase.Builder,AutonomousDatabase>

@Generated("software.amazon.awssdk:codegen") public final class AutonomousDatabase extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutonomousDatabase.Builder,AutonomousDatabase>

Information about an Autonomous Database.

See Also:
  • Method Details

    • autonomousDatabaseId

      public final String autonomousDatabaseId()

      The unique identifier of the Autonomous Database.

      Returns:
      The unique identifier of the Autonomous Database.
    • autonomousDatabaseArn

      public final String autonomousDatabaseArn()

      The Amazon Resource Name (ARN) of the Autonomous Database.

      Returns:
      The Amazon Resource Name (ARN) of the Autonomous Database.
    • ociResourceAnchorName

      public final String ociResourceAnchorName()

      The name of the Oracle Cloud Infrastructure (OCI) resource anchor associated with the Autonomous Database.

      Returns:
      The name of the Oracle Cloud Infrastructure (OCI) resource anchor associated with the Autonomous Database.
    • percentProgress

      public final Float percentProgress()

      The progress of the current operation on the Autonomous Database, as a percentage.

      Returns:
      The progress of the current operation on the Autonomous Database, as a percentage.
    • ocid

      public final String ocid()

      The Oracle Cloud Identifier (OCID) of the Autonomous Database.

      Returns:
      The Oracle Cloud Identifier (OCID) of the Autonomous Database.
    • ociUrl

      public final String ociUrl()

      The URL for accessing the OCI console page for the Autonomous Database.

      Returns:
      The URL for accessing the OCI console page for the Autonomous Database.
    • displayName

      public final String displayName()

      The user-friendly name of the Autonomous Database.

      Returns:
      The user-friendly name of the Autonomous Database.
    • dbName

      public final String dbName()

      The name of the Autonomous Database.

      Returns:
      The name of the Autonomous Database.
    • sourceId

      public final String sourceId()

      The unique identifier of the source from which the Autonomous Database was created.

      Returns:
      The unique identifier of the source from which the Autonomous Database was created.
    • status

      public final AutonomousDatabaseResourceStatus status()

      The current status of the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, status will return AutonomousDatabaseResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The current status of the Autonomous Database.
      See Also:
    • statusAsString

      public final String statusAsString()

      The current status of the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, status will return AutonomousDatabaseResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The current status of the Autonomous Database.
      See Also:
    • statusReason

      public final String statusReason()

      Additional information about the current status of the Autonomous Database, if applicable.

      Returns:
      Additional information about the current status of the Autonomous Database, if applicable.
    • databaseType

      public final DatabaseType databaseType()

      The type of the Autonomous Database, either a regular database or a clone.

      If the service returns an enum value that is not available in the current SDK version, databaseType will return DatabaseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from databaseTypeAsString().

      Returns:
      The type of the Autonomous Database, either a regular database or a clone.
      See Also:
    • databaseTypeAsString

      public final String databaseTypeAsString()

      The type of the Autonomous Database, either a regular database or a clone.

      If the service returns an enum value that is not available in the current SDK version, databaseType will return DatabaseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from databaseTypeAsString().

      Returns:
      The type of the Autonomous Database, either a regular database or a clone.
      See Also:
    • dbVersion

      public final String dbVersion()

      The Oracle Database software version of the Autonomous Database.

      Returns:
      The Oracle Database software version of the Autonomous Database.
    • dbWorkload

      public final DbWorkload dbWorkload()

      The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.

      If the service returns an enum value that is not available in the current SDK version, dbWorkload will return DbWorkload.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dbWorkloadAsString().

      Returns:
      The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.
      See Also:
    • dbWorkloadAsString

      public final String dbWorkloadAsString()

      The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.

      If the service returns an enum value that is not available in the current SDK version, dbWorkload will return DbWorkload.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dbWorkloadAsString().

      Returns:
      The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.
      See Also:
    • characterSet

      public final String characterSet()

      The character set of the Autonomous Database.

      Returns:
      The character set of the Autonomous Database.
    • ncharacterSet

      public final String ncharacterSet()

      The national character set of the Autonomous Database.

      Returns:
      The national character set of the Autonomous Database.
    • databaseEdition

      public final DatabaseEdition databaseEdition()

      The Oracle Database edition of the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, databaseEdition will return DatabaseEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from databaseEditionAsString().

      Returns:
      The Oracle Database edition of the Autonomous Database.
      See Also:
    • databaseEditionAsString

      public final String databaseEditionAsString()

      The Oracle Database edition of the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, databaseEdition will return DatabaseEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from databaseEditionAsString().

      Returns:
      The Oracle Database edition of the Autonomous Database.
      See Also:
    • licenseModel

      public final LicenseModel licenseModel()

      The Oracle license model that applies to the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, licenseModel will return LicenseModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from licenseModelAsString().

      Returns:
      The Oracle license model that applies to the Autonomous Database.
      See Also:
    • licenseModelAsString

      public final String licenseModelAsString()

      The Oracle license model that applies to the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, licenseModel will return LicenseModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from licenseModelAsString().

      Returns:
      The Oracle license model that applies to the Autonomous Database.
      See Also:
    • openMode

      public final OpenMode openMode()

      The mode in which the Autonomous Database is open, either read-only or read/write.

      If the service returns an enum value that is not available in the current SDK version, openMode will return OpenMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from openModeAsString().

      Returns:
      The mode in which the Autonomous Database is open, either read-only or read/write.
      See Also:
    • openModeAsString

      public final String openModeAsString()

      The mode in which the Autonomous Database is open, either read-only or read/write.

      If the service returns an enum value that is not available in the current SDK version, openMode will return OpenMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from openModeAsString().

      Returns:
      The mode in which the Autonomous Database is open, either read-only or read/write.
      See Also:
    • permissionLevel

      public final PermissionLevel permissionLevel()

      The permission level of the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, permissionLevel will return PermissionLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from permissionLevelAsString().

      Returns:
      The permission level of the Autonomous Database.
      See Also:
    • permissionLevelAsString

      public final String permissionLevelAsString()

      The permission level of the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, permissionLevel will return PermissionLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from permissionLevelAsString().

      Returns:
      The permission level of the Autonomous Database.
      See Also:
    • isMtlsConnectionRequired

      public final Boolean isMtlsConnectionRequired()

      Indicates whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.

      Returns:
      Indicates whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.
    • autonomousMaintenanceScheduleType

      public final AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType()

      The maintenance schedule type for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, autonomousMaintenanceScheduleType will return AutonomousMaintenanceScheduleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from autonomousMaintenanceScheduleTypeAsString().

      Returns:
      The maintenance schedule type for the Autonomous Database.
      See Also:
    • autonomousMaintenanceScheduleTypeAsString

      public final String autonomousMaintenanceScheduleTypeAsString()

      The maintenance schedule type for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, autonomousMaintenanceScheduleType will return AutonomousMaintenanceScheduleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from autonomousMaintenanceScheduleTypeAsString().

      Returns:
      The maintenance schedule type for the Autonomous Database.
      See Also:
    • netServicesArchitecture

      public final NetServicesArchitecture netServicesArchitecture()

      The Oracle Net Services architecture of the Autonomous Database, either dedicated or shared.

      If the service returns an enum value that is not available in the current SDK version, netServicesArchitecture will return NetServicesArchitecture.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from netServicesArchitectureAsString().

      Returns:
      The Oracle Net Services architecture of the Autonomous Database, either dedicated or shared.
      See Also:
    • netServicesArchitectureAsString

      public final String netServicesArchitectureAsString()

      The Oracle Net Services architecture of the Autonomous Database, either dedicated or shared.

      If the service returns an enum value that is not available in the current SDK version, netServicesArchitecture will return NetServicesArchitecture.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from netServicesArchitectureAsString().

      Returns:
      The Oracle Net Services architecture of the Autonomous Database, either dedicated or shared.
      See Also:
    • hasAvailableUpgradeVersions

      public final boolean hasAvailableUpgradeVersions()
      For responses, this returns true if the service returned a value for the AvailableUpgradeVersions property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • availableUpgradeVersions

      public final List<String> availableUpgradeVersions()

      The list of Oracle Database software versions to which the Autonomous Database can be upgraded.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAvailableUpgradeVersions() method.

      Returns:
      The list of Oracle Database software versions to which the Autonomous Database can be upgraded.
    • byolComputeCountLimit

      public final Integer byolComputeCountLimit()

      The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.

      Returns:
      The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.
    • connectionStringDetails

      public final AutonomousDatabaseConnectionStrings connectionStringDetails()

      The connection string details for the Autonomous Database.

      Returns:
      The connection string details for the Autonomous Database.
    • serviceConsoleUrl

      public final String serviceConsoleUrl()

      The URL for accessing the Oracle service console for the Autonomous Database.

      Returns:
      The URL for accessing the Oracle service console for the Autonomous Database.
    • sqlWebDeveloperUrl

      public final String sqlWebDeveloperUrl()

      The URL for accessing Oracle SQL Developer Web for the Autonomous Database.

      Returns:
      The URL for accessing Oracle SQL Developer Web for the Autonomous Database.
    • hasCustomerContacts

      public final boolean hasCustomerContacts()
      For responses, this returns true if the service returned a value for the CustomerContacts property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • customerContacts

      public final List<CustomerContact> customerContacts()

      The list of customer contacts that receive operational notifications from Oracle for the Autonomous Database.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasCustomerContacts() method.

      Returns:
      The list of customer contacts that receive operational notifications from Oracle for the Autonomous Database.
    • apexDetails

      public final AutonomousDatabaseApex apexDetails()

      The Oracle Application Express (APEX) details for the Autonomous Database.

      Returns:
      The Oracle Application Express (APEX) details for the Autonomous Database.
    • standbyDb

      public final DatabaseStandbySummary standbyDb()

      The details of the standby Autonomous Database in a cross-Region Oracle Data Guard configuration.

      Returns:
      The details of the standby Autonomous Database in a cross-Region Oracle Data Guard configuration.
    • localStandbyDb

      public final DatabaseStandbySummary localStandbyDb()

      The details of the local standby Autonomous Database in an Oracle Data Guard configuration.

      Returns:
      The details of the local standby Autonomous Database in an Oracle Data Guard configuration.
    • dataSafeStatus

      public final DataSafeStatus dataSafeStatus()

      The status of the Oracle Data Safe registration for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, dataSafeStatus will return DataSafeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dataSafeStatusAsString().

      Returns:
      The status of the Oracle Data Safe registration for the Autonomous Database.
      See Also:
    • dataSafeStatusAsString

      public final String dataSafeStatusAsString()

      The status of the Oracle Data Safe registration for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, dataSafeStatus will return DataSafeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dataSafeStatusAsString().

      Returns:
      The status of the Oracle Data Safe registration for the Autonomous Database.
      See Also:
    • databaseManagementStatus

      public final DatabaseManagementStatus databaseManagementStatus()

      The status of Oracle Database Management for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, databaseManagementStatus will return DatabaseManagementStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from databaseManagementStatusAsString().

      Returns:
      The status of Oracle Database Management for the Autonomous Database.
      See Also:
    • databaseManagementStatusAsString

      public final String databaseManagementStatusAsString()

      The status of Oracle Database Management for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, databaseManagementStatus will return DatabaseManagementStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from databaseManagementStatusAsString().

      Returns:
      The status of Oracle Database Management for the Autonomous Database.
      See Also:
    • operationsInsightsStatus

      public final OperationsInsightsStatus operationsInsightsStatus()

      The status of Oracle Operations Insights for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, operationsInsightsStatus will return OperationsInsightsStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from operationsInsightsStatusAsString().

      Returns:
      The status of Oracle Operations Insights for the Autonomous Database.
      See Also:
    • operationsInsightsStatusAsString

      public final String operationsInsightsStatusAsString()

      The status of Oracle Operations Insights for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, operationsInsightsStatus will return OperationsInsightsStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from operationsInsightsStatusAsString().

      Returns:
      The status of Oracle Operations Insights for the Autonomous Database.
      See Also:
    • availabilityZone

      public final String availabilityZone()

      The Availability Zone where the Autonomous Database is located.

      Returns:
      The Availability Zone where the Autonomous Database is located.
    • availabilityZoneId

      public final String availabilityZoneId()

      The unique identifier of the Availability Zone where the Autonomous Database is located.

      Returns:
      The unique identifier of the Availability Zone where the Autonomous Database is located.
    • maintenanceTargetComponent

      public final String maintenanceTargetComponent()

      The component on the Autonomous Database that the current maintenance is being applied to.

      Returns:
      The component on the Autonomous Database that the current maintenance is being applied to.
    • connectionUrls

      public final AutonomousDatabaseConnectionUrls connectionUrls()

      The connection URLs for accessing tools and services for the Autonomous Database.

      Returns:
      The connection URLs for accessing tools and services for the Autonomous Database.
    • hasDbToolsDetails

      public final boolean hasDbToolsDetails()
      For responses, this returns true if the service returned a value for the DbToolsDetails property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • dbToolsDetails

      public final List<DatabaseTool> dbToolsDetails()

      The list of database management tools enabled for the Autonomous Database.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasDbToolsDetails() method.

      Returns:
      The list of database management tools enabled for the Autonomous Database.
    • hasScheduledOperations

      public final boolean hasScheduledOperations()
      For responses, this returns true if the service returned a value for the ScheduledOperations property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • scheduledOperations

      public final List<ScheduledOperationDetails> scheduledOperations()

      The list of scheduled start and stop times for the Autonomous Database.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasScheduledOperations() method.

      Returns:
      The list of scheduled start and stop times for the Autonomous Database.
    • resourcePoolLeaderId

      public final String resourcePoolLeaderId()

      The unique identifier of the resource pool leader Autonomous Database.

      Returns:
      The unique identifier of the resource pool leader Autonomous Database.
    • computeCount

      public final Float computeCount()

      The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), assigned to the Autonomous Database.

      Returns:
      The compute capacity, in number of Elastic CPUs (ECPUs) or Oracle CPUs (OCPUs), assigned to the Autonomous Database.
    • computeModel

      public final ComputeModel computeModel()

      The compute model of the Autonomous Database, either ECPU or OCPU.

      If the service returns an enum value that is not available in the current SDK version, computeModel will return ComputeModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from computeModelAsString().

      Returns:
      The compute model of the Autonomous Database, either ECPU or OCPU.
      See Also:
    • computeModelAsString

      public final String computeModelAsString()

      The compute model of the Autonomous Database, either ECPU or OCPU.

      If the service returns an enum value that is not available in the current SDK version, computeModel will return ComputeModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from computeModelAsString().

      Returns:
      The compute model of the Autonomous Database, either ECPU or OCPU.
      See Also:
    • cpuCoreCount

      public final Integer cpuCoreCount()

      The number of CPU cores allocated to the Autonomous Database.

      Returns:
      The number of CPU cores allocated to the Autonomous Database.
    • memoryPerOracleComputeUnitInGBs

      public final Integer memoryPerOracleComputeUnitInGBs()

      The amount of memory allocated per Oracle Compute Unit, in GB.

      Returns:
      The amount of memory allocated per Oracle Compute Unit, in GB.
    • hasProvisionableCpus

      public final boolean hasProvisionableCpus()
      For responses, this returns true if the service returned a value for the ProvisionableCpus property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • provisionableCpus

      public final List<Integer> provisionableCpus()

      The list of CPU core counts that you can provision for the Autonomous Database.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasProvisionableCpus() method.

      Returns:
      The list of CPU core counts that you can provision for the Autonomous Database.
    • isAutoScalingEnabled

      public final Boolean isAutoScalingEnabled()

      Indicates whether automatic scaling of the compute resources is enabled for the Autonomous Database.

      Returns:
      Indicates whether automatic scaling of the compute resources is enabled for the Autonomous Database.
    • dataStorageSizeInTBs

      public final Double dataStorageSizeInTBs()

      The size, in terabytes (TB), of the data volume allocated for the Autonomous Database.

      Returns:
      The size, in terabytes (TB), of the data volume allocated for the Autonomous Database.
    • dataStorageSizeInGBs

      public final Integer dataStorageSizeInGBs()

      The size, in gigabytes (GB), of the data volume allocated for the Autonomous Database.

      Returns:
      The size, in gigabytes (GB), of the data volume allocated for the Autonomous Database.
    • usedDataStorageSizeInTBs

      public final Double usedDataStorageSizeInTBs()

      The amount of data storage currently in use by the Autonomous Database, in TB.

      Returns:
      The amount of data storage currently in use by the Autonomous Database, in TB.
    • usedDataStorageSizeInGBs

      public final Integer usedDataStorageSizeInGBs()

      The amount of data storage currently in use by the Autonomous Database, in GB.

      Returns:
      The amount of data storage currently in use by the Autonomous Database, in GB.
    • actualUsedDataStorageSizeInTBs

      public final Double actualUsedDataStorageSizeInTBs()

      The actual amount of data storage currently in use by the Autonomous Database, in TB.

      Returns:
      The actual amount of data storage currently in use by the Autonomous Database, in TB.
    • allocatedStorageSizeInTBs

      public final Double allocatedStorageSizeInTBs()

      The amount of storage currently allocated to the Autonomous Database, in TB.

      Returns:
      The amount of storage currently allocated to the Autonomous Database, in TB.
    • inMemoryAreaInGBs

      public final Integer inMemoryAreaInGBs()

      The size of the in-memory area of the Autonomous Database, in GB.

      Returns:
      The size of the in-memory area of the Autonomous Database, in GB.
    • isAutoScalingForStorageEnabled

      public final Boolean isAutoScalingForStorageEnabled()

      Indicates whether automatic scaling of the storage is enabled for the Autonomous Database.

      Returns:
      Indicates whether automatic scaling of the storage is enabled for the Autonomous Database.
    • odbNetworkId

      public final String odbNetworkId()

      The unique identifier of the ODB network associated with the Autonomous Database.

      Returns:
      The unique identifier of the ODB network associated with the Autonomous Database.
    • odbNetworkArn

      public final String odbNetworkArn()

      The Amazon Resource Name (ARN) of the ODB network associated with the Autonomous Database.

      Returns:
      The Amazon Resource Name (ARN) of the ODB network associated with the Autonomous Database.
    • privateEndpoint

      public final String privateEndpoint()

      The private endpoint for the Autonomous Database.

      Returns:
      The private endpoint for the Autonomous Database.
    • privateEndpointIp

      public final String privateEndpointIp()

      The private endpoint IP address for the Autonomous Database.

      Returns:
      The private endpoint IP address for the Autonomous Database.
    • privateEndpointLabel

      public final String privateEndpointLabel()

      The private endpoint label for the Autonomous Database.

      Returns:
      The private endpoint label for the Autonomous Database.
    • hasAllowlistedIps

      public final boolean hasAllowlistedIps()
      For responses, this returns true if the service returned a value for the AllowlistedIps property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • allowlistedIps

      public final List<String> allowlistedIps()

      The list of IP addresses that are allowed to access the Autonomous Database.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAllowlistedIps() method.

      Returns:
      The list of IP addresses that are allowed to access the Autonomous Database.
    • hasStandbyAllowlistedIps

      public final boolean hasStandbyAllowlistedIps()
      For responses, this returns true if the service returned a value for the StandbyAllowlistedIps property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • standbyAllowlistedIps

      public final List<String> standbyAllowlistedIps()

      The list of IP addresses that are allowed to access the standby Autonomous Database.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasStandbyAllowlistedIps() method.

      Returns:
      The list of IP addresses that are allowed to access the standby Autonomous Database.
    • standbyAllowlistedIpsSource

      public final StandbyAllowlistedIpsSource standbyAllowlistedIpsSource()

      The source of the allowlisted IP addresses for the standby Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, standbyAllowlistedIpsSource will return StandbyAllowlistedIpsSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from standbyAllowlistedIpsSourceAsString().

      Returns:
      The source of the allowlisted IP addresses for the standby Autonomous Database.
      See Also:
    • standbyAllowlistedIpsSourceAsString

      public final String standbyAllowlistedIpsSourceAsString()

      The source of the allowlisted IP addresses for the standby Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, standbyAllowlistedIpsSource will return StandbyAllowlistedIpsSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from standbyAllowlistedIpsSourceAsString().

      Returns:
      The source of the allowlisted IP addresses for the standby Autonomous Database.
      See Also:
    • isLocalDataGuardEnabled

      public final Boolean isLocalDataGuardEnabled()

      Indicates whether local Oracle Data Guard is enabled for the Autonomous Database.

      Returns:
      Indicates whether local Oracle Data Guard is enabled for the Autonomous Database.
    • isRemoteDataGuardEnabled

      public final Boolean isRemoteDataGuardEnabled()

      Indicates whether remote Oracle Data Guard is enabled for the Autonomous Database.

      Returns:
      Indicates whether remote Oracle Data Guard is enabled for the Autonomous Database.
    • localDisasterRecoveryType

      public final DisasterRecoveryType localDisasterRecoveryType()

      The type of local disaster recovery configured for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, localDisasterRecoveryType will return DisasterRecoveryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from localDisasterRecoveryTypeAsString().

      Returns:
      The type of local disaster recovery configured for the Autonomous Database.
      See Also:
    • localDisasterRecoveryTypeAsString

      public final String localDisasterRecoveryTypeAsString()

      The type of local disaster recovery configured for the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, localDisasterRecoveryType will return DisasterRecoveryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from localDisasterRecoveryTypeAsString().

      Returns:
      The type of local disaster recovery configured for the Autonomous Database.
      See Also:
    • role

      public final DataGuardRole role()

      The Oracle Data Guard role of the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, role will return DataGuardRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from roleAsString().

      Returns:
      The Oracle Data Guard role of the Autonomous Database.
      See Also:
    • roleAsString

      public final String roleAsString()

      The Oracle Data Guard role of the Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, role will return DataGuardRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from roleAsString().

      Returns:
      The Oracle Data Guard role of the Autonomous Database.
      See Also:
    • hasPeerDbIds

      public final boolean hasPeerDbIds()
      For responses, this returns true if the service returned a value for the PeerDbIds property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • peerDbIds

      public final List<String> peerDbIds()

      The list of unique identifiers of the peer Autonomous Databases.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasPeerDbIds() method.

      Returns:
      The list of unique identifiers of the peer Autonomous Databases.
    • failedDataRecoveryInSeconds

      public final Integer failedDataRecoveryInSeconds()

      The amount of time, in seconds, that the data in the Autonomous Database is behind the data in the primary database.

      Returns:
      The amount of time, in seconds, that the data in the Autonomous Database is behind the data in the primary database.
    • localAdgAutoFailoverMaxDataLossLimit

      public final Integer localAdgAutoFailoverMaxDataLossLimit()

      The maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.

      Returns:
      The maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.
    • remoteDisasterRecoveryConfiguration

      public final DisasterRecoveryConfiguration remoteDisasterRecoveryConfiguration()

      The configuration of the remote disaster recovery for the Autonomous Database.

      Returns:
      The configuration of the remote disaster recovery for the Autonomous Database.
    • isRefreshableClone

      public final Boolean isRefreshableClone()

      Indicates whether the Autonomous Database is a refreshable clone.

      Returns:
      Indicates whether the Autonomous Database is a refreshable clone.
    • refreshableMode

      public final RefreshableMode refreshableMode()

      The refresh mode of the refreshable clone Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, refreshableMode will return RefreshableMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from refreshableModeAsString().

      Returns:
      The refresh mode of the refreshable clone Autonomous Database.
      See Also:
    • refreshableModeAsString

      public final String refreshableModeAsString()

      The refresh mode of the refreshable clone Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, refreshableMode will return RefreshableMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from refreshableModeAsString().

      Returns:
      The refresh mode of the refreshable clone Autonomous Database.
      See Also:
    • refreshableStatus

      public final RefreshableStatus refreshableStatus()

      The refresh status of the refreshable clone Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, refreshableStatus will return RefreshableStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from refreshableStatusAsString().

      Returns:
      The refresh status of the refreshable clone Autonomous Database.
      See Also:
    • refreshableStatusAsString

      public final String refreshableStatusAsString()

      The refresh status of the refreshable clone Autonomous Database.

      If the service returns an enum value that is not available in the current SDK version, refreshableStatus will return RefreshableStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from refreshableStatusAsString().

      Returns:
      The refresh status of the refreshable clone Autonomous Database.
      See Also:
    • autoRefreshFrequencyInSeconds

      public final Integer autoRefreshFrequencyInSeconds()

      The frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.

      Returns:
      The frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.
    • autoRefreshPointLagInSeconds

      public final Integer autoRefreshPointLagInSeconds()

      The time lag, in seconds, between the refreshable clone and its source Autonomous Database.

      Returns:
      The time lag, in seconds, between the refreshable clone and its source Autonomous Database.
    • isReconnectCloneEnabled

      public final Boolean isReconnectCloneEnabled()

      Indicates whether reconnecting the refreshable clone to its source Autonomous Database is enabled.

      Returns:
      Indicates whether reconnecting the refreshable clone to its source Autonomous Database is enabled.
    • hasCloneTableSpaceList

      public final boolean hasCloneTableSpaceList()
      For responses, this returns true if the service returned a value for the CloneTableSpaceList property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • cloneTableSpaceList

      public final List<Integer> cloneTableSpaceList()

      The list of tablespace identifiers to clone for the Autonomous Database.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasCloneTableSpaceList() method.

      Returns:
      The list of tablespace identifiers to clone for the Autonomous Database.
    • backupRetentionPeriodInDays

      public final Integer backupRetentionPeriodInDays()

      The retention period, in days, for automatic backups of the Autonomous Database.

      Returns:
      The retention period, in days, for automatic backups of the Autonomous Database.
    • longTermBackupSchedule

      public final LongTermBackupSchedule longTermBackupSchedule()

      The long-term backup schedule for the Autonomous Database.

      Returns:
      The long-term backup schedule for the Autonomous Database.
    • isBackupRetentionLocked

      public final Boolean isBackupRetentionLocked()

      Indicates whether the backup retention period of the Autonomous Database is locked.

      Returns:
      Indicates whether the backup retention period of the Autonomous Database is locked.
    • totalBackupStorageSizeInGBs

      public final Double totalBackupStorageSizeInGBs()

      The total amount of backup storage used by the Autonomous Database, in GB.

      Returns:
      The total amount of backup storage used by the Autonomous Database, in GB.
    • resourcePoolSummary

      public final ResourcePoolSummary resourcePoolSummary()

      The configuration of the resource pool for the Autonomous Database.

      Returns:
      The configuration of the resource pool for the Autonomous Database.
    • encryptionSummary

      public final EncryptionSummary encryptionSummary()

      The encryption configuration for the Autonomous Database.

      Returns:
      The encryption configuration for the Autonomous Database.
    • createdAt

      public final Instant createdAt()

      The date and time when the Autonomous Database was created.

      Returns:
      The date and time when the Autonomous Database was created.
    • timeOfLastBackup

      public final Instant timeOfLastBackup()

      The date and time of the last backup of the Autonomous Database.

      Returns:
      The date and time of the last backup of the Autonomous Database.
    • timeMaintenanceBegin

      public final Instant timeMaintenanceBegin()

      The date and time when the next maintenance of the Autonomous Database begins.

      Returns:
      The date and time when the next maintenance of the Autonomous Database begins.
    • timeMaintenanceEnd

      public final Instant timeMaintenanceEnd()

      The date and time when the next maintenance of the Autonomous Database ends.

      Returns:
      The date and time when the next maintenance of the Autonomous Database ends.
    • timeLocalDataGuardEnabled

      public final Instant timeLocalDataGuardEnabled()

      The date and time when local Oracle Data Guard was enabled for the Autonomous Database.

      Returns:
      The date and time when local Oracle Data Guard was enabled for the Autonomous Database.
    • timeDataGuardRoleChanged

      public final Instant timeDataGuardRoleChanged()

      The date and time when the Oracle Data Guard role of the Autonomous Database last changed.

      Returns:
      The date and time when the Oracle Data Guard role of the Autonomous Database last changed.
    • timeOfLastSwitchover

      public final Instant timeOfLastSwitchover()

      The date and time of the last switchover operation for the Autonomous Database.

      Returns:
      The date and time of the last switchover operation for the Autonomous Database.
    • timeOfLastFailover

      public final Instant timeOfLastFailover()

      The date and time of the last failover operation for the Autonomous Database.

      Returns:
      The date and time of the last failover operation for the Autonomous Database.
    • timeOfLastRefresh

      public final Instant timeOfLastRefresh()

      The date and time of the last refresh of the refreshable clone Autonomous Database.

      Returns:
      The date and time of the last refresh of the refreshable clone Autonomous Database.
    • timeOfLastRefreshPoint

      public final Instant timeOfLastRefreshPoint()

      The date and time as of which the data in the refreshable clone Autonomous Database is current.

      Returns:
      The date and time as of which the data in the refreshable clone Autonomous Database is current.
    • timeOfNextRefresh

      public final Instant timeOfNextRefresh()

      The date and time of the next scheduled refresh of the refreshable clone Autonomous Database.

      Returns:
      The date and time of the next scheduled refresh of the refreshable clone Autonomous Database.
    • timeOfAutoRefreshStart

      public final Instant timeOfAutoRefreshStart()

      The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.

      Returns:
      The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.
    • timeDeletionOfFreeAutonomousDatabase

      public final Instant timeDeletionOfFreeAutonomousDatabase()

      The date and time when the inactive Always Free Autonomous Database is scheduled to be automatically deleted.

      Returns:
      The date and time when the inactive Always Free Autonomous Database is scheduled to be automatically deleted.
    • timeReclamationOfFreeAutonomousDatabase

      public final Instant timeReclamationOfFreeAutonomousDatabase()

      The date and time when the Always Free Autonomous Database is scheduled to be stopped because of inactivity.

      Returns:
      The date and time when the Always Free Autonomous Database is scheduled to be stopped because of inactivity.
    • timeDisasterRecoveryRoleChanged

      public final Instant timeDisasterRecoveryRoleChanged()

      The date and time when the disaster recovery role of the Autonomous Database last changed.

      Returns:
      The date and time when the disaster recovery role of the Autonomous Database last changed.
    • timeUntilReconnectCloneEnabled

      public final Instant timeUntilReconnectCloneEnabled()

      The date and time until which reconnecting the refreshable clone to its source Autonomous Database is allowed.

      Returns:
      The date and time until which reconnecting the refreshable clone to its source Autonomous Database is allowed.
    • nextLongTermBackupTimeStamp

      public final Instant nextLongTermBackupTimeStamp()

      The date and time of the next scheduled long-term backup of the Autonomous Database.

      Returns:
      The date and time of the next scheduled long-term backup of the Autonomous Database.
    • timeUndeleted

      public final Instant timeUndeleted()

      The date and time when the Autonomous Database was restored after deletion.

      Returns:
      The date and time when the Autonomous Database was restored after deletion.
    • toBuilder

      public AutonomousDatabase.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<AutonomousDatabase.Builder,AutonomousDatabase>
      Returns:
      a builder for type T
    • builder

      public static AutonomousDatabase.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AutonomousDatabase.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.