Class CreateAutonomousDatabaseRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<CreateAutonomousDatabaseRequest.Builder,CreateAutonomousDatabaseRequest>

@Generated("software.amazon.awssdk:codegen") public final class CreateAutonomousDatabaseRequest extends OdbRequest implements ToCopyableBuilder<CreateAutonomousDatabaseRequest.Builder,CreateAutonomousDatabaseRequest>
  • Method Details

    • odbNetworkId

      public final String odbNetworkId()

      The unique identifier of the ODB network to be used for the Autonomous Database.

      Returns:
      The unique identifier of the ODB network to be used for the Autonomous Database.
    • displayName

      public final String displayName()

      The user-friendly name for the Autonomous Database. The name does not have to be unique.

      Returns:
      The user-friendly name for the Autonomous Database. The name does not have to be unique.
    • dbName

      public final String dbName()

      The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.

      Returns:
      The name of the Autonomous Database. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The name must be unique in the Amazon Web Services account.
    • adminPassword

      public final String adminPassword()

      The password for the ADMIN user of the Autonomous Database.

      Returns:
      The password for the ADMIN user of the Autonomous Database.
    • computeCount

      public final Double computeCount()

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

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

      public final Integer dataStorageSizeInTBs()

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

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

      public final Integer dataStorageSizeInGBs()

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

      Returns:
      The size, in gigabytes (GB), of the data volume to allocate for 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:
    • isAutoScalingEnabled

      public final Boolean isAutoScalingEnabled()

      Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.

      Returns:
      Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.
    • isAutoScalingForStorageEnabled

      public final Boolean isAutoScalingForStorageEnabled()

      Specifies whether to enable automatic scaling of the storage for the Autonomous Database.

      Returns:
      Specifies whether to enable automatic scaling of the storage for the Autonomous Database.
    • licenseModel

      public final LicenseModel licenseModel()

      The Oracle license model to apply 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 to apply to the Autonomous Database.
      See Also:
    • licenseModelAsString

      public final String licenseModelAsString()

      The Oracle license model to apply 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 to apply to the Autonomous Database.
      See Also:
    • characterSet

      public final String characterSet()

      The character set to use for the Autonomous Database.

      Returns:
      The character set to use for the Autonomous Database.
    • ncharacterSet

      public final String ncharacterSet()

      The national character set to use for the Autonomous Database.

      Returns:
      The national character set to use for the Autonomous Database.
    • dbVersion

      public final String dbVersion()

      The Oracle Database software version to use for the Autonomous Database.

      Returns:
      The Oracle Database software version to use for the Autonomous Database.
    • databaseEdition

      public final DatabaseEdition databaseEdition()

      The Oracle Database edition to apply to 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 to apply to the Autonomous Database.
      See Also:
    • databaseEditionAsString

      public final String databaseEditionAsString()

      The Oracle Database edition to apply to 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 to apply to the Autonomous Database.
      See Also:
    • 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:
    • 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:
    • 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.
    • byolComputeCountLimit

      public final Double 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.
    • cpuCoreCount

      public final Integer cpuCoreCount()

      The number of CPU cores to allocate to the Autonomous Database.

      Returns:
      The number of CPU cores to allocate to the Autonomous Database.
    • hasCustomerContactsToSendToOCI

      public final boolean hasCustomerContactsToSendToOCI()
      For responses, this returns true if the service returned a value for the CustomerContactsToSendToOCI 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.
    • customerContactsToSendToOCI

      public final List<CustomerContact> customerContactsToSendToOCI()

      The list of customer contacts to receive operational notifications from Oracle Cloud Infrastructure (OCI) 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 hasCustomerContactsToSendToOCI() method.

      Returns:
      The list of customer contacts to receive operational notifications from Oracle Cloud Infrastructure (OCI) 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • transportableTablespace

      public final TransportableTablespace transportableTablespace()

      The transportable tablespace configuration to use when creating the Autonomous Database.

      Returns:
      The transportable tablespace configuration to use when creating the Autonomous Database.
    • isBackupRetentionLocked

      public final Boolean isBackupRetentionLocked()

      Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.

      Returns:
      Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.
    • isLocalDataGuardEnabled

      public final Boolean isLocalDataGuardEnabled()

      Specifies whether to enable local Oracle Data Guard for the Autonomous Database.

      Returns:
      Specifies whether to enable local Oracle Data Guard for the Autonomous Database.
    • isMtlsConnectionRequired

      public final Boolean isMtlsConnectionRequired()

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

      Returns:
      Specifies whether mutual TLS (mTLS) authentication is required to connect to 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 to enable 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 to enable for the Autonomous Database.
    • source

      public final SourceType source()

      The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.

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

      Returns:
      The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.
      See Also:
    • sourceAsString

      public final String sourceAsString()

      The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.

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

      Returns:
      The source from which to create the Autonomous Database, such as a clone, backup, or cross-Region copy.
      See Also:
    • sourceConfiguration

      public final SourceConfiguration sourceConfiguration()

      The configuration details for the source used to create the Autonomous Database.

      Returns:
      The configuration details for the source used to create the Autonomous Database.
    • encryptionKeyProvider

      public final EncryptionKeyProviderInput encryptionKeyProvider()

      The provider of the encryption key to use for the Autonomous Database.

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

      Returns:
      The provider of the encryption key to use for the Autonomous Database.
      See Also:
    • encryptionKeyProviderAsString

      public final String encryptionKeyProviderAsString()

      The provider of the encryption key to use for the Autonomous Database.

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

      Returns:
      The provider of the encryption key to use for the Autonomous Database.
      See Also:
    • encryptionKeyConfiguration

      public final EncryptionKeyConfigurationInput encryptionKeyConfiguration()

      The configuration of the encryption key to use for the Autonomous Database.

      Returns:
      The configuration of the encryption key to use for the Autonomous Database.
    • clientToken

      public final String clientToken()

      A client-provided token to ensure the idempotency of the request.

      Returns:
      A client-provided token to ensure the idempotency of the request.
    • hasTags

      public final boolean hasTags()
      For responses, this returns true if the service returned a value for the Tags 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.
    • tags

      public final Map<String,String> tags()

      The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.

      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 hasTags() method.

      Returns:
      The list of resource tags to apply to the Autonomous Database. Each tag is a key-value pair with no predefined name, type, or namespace.
    • 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<CreateAutonomousDatabaseRequest.Builder,CreateAutonomousDatabaseRequest>
      Specified by:
      toBuilder in class OdbRequest
      Returns:
      a builder for type T
    • builder

      public static CreateAutonomousDatabaseRequest.Builder builder()
    • serializableBuilderClass

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

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • 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)
      Description copied from class: SdkRequest
      Used to retrieve the value of a field from any class that extends SdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will again be available.
      Overrides:
      getValueForField in class SdkRequest
      Parameters:
      fieldName - The name of the member to be retrieved.
      clazz - The class to cast the returned object to.
      Returns:
      Optional containing the casted return value
    • 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.