Class UpdateAutonomousDatabaseRequest

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

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

    • autonomousDatabaseId

      public final String autonomousDatabaseId()

      The unique identifier of the Autonomous Database to update.

      Returns:
      The unique identifier of the Autonomous Database to update.
    • adminPassword

      public final String adminPassword()

      The new password for the ADMIN user of the Autonomous Database.

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

      public final Double computeCount()

      The compute capacity, in number of ECPUs or OCPUs, to assign to the Autonomous Database.

      Returns:
      The compute capacity, in number of ECPUs or OCPUs, to assign to the Autonomous Database.
    • 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.
    • 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.
    • displayName

      public final String displayName()

      The new user-friendly name for the Autonomous Database.

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

      public final String dbName()

      The new name of the Autonomous Database.

      Returns:
      The new name of 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.
    • 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:
    • 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.
    • 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:
    • 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:
    • 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.
    • 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.
    • isRefreshableClone

      public final Boolean isRefreshableClone()

      Specifies whether the Autonomous Database is a refreshable clone.

      Returns:
      Specifies whether the Autonomous Database is a refreshable clone.
    • isDisconnectPeer

      public final Boolean isDisconnectPeer()

      Specifies whether to disconnect the Autonomous Database from its peer database.

      Returns:
      Specifies whether to disconnect the Autonomous Database from its peer 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.
    • 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.
    • 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.
    • 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:
    • 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 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 OCI 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.
    • longTermBackupSchedule

      public final LongTermBackupSchedule longTermBackupSchedule()

      The long-term backup schedule for the Autonomous Database.

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

      public final OpenMode openMode()

      The mode in which to open the Autonomous Database, 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 to open the Autonomous Database, either read-only or read/write.
      See Also:
    • openModeAsString

      public final String openModeAsString()

      The mode in which to open the Autonomous Database, 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 to open the Autonomous Database, 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:
    • 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:
    • 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.
    • peerDbId

      public final String peerDbId()

      The unique identifier of the peer Autonomous Database.

      Returns:
      The unique identifier of the peer 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.
    • 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:
    • 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.
    • 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.
    • 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.
    • 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.
    • 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<UpdateAutonomousDatabaseRequest.Builder,UpdateAutonomousDatabaseRequest>
      Specified by:
      toBuilder in class OdbRequest
      Returns:
      a builder for type T
    • builder

      public static UpdateAutonomousDatabaseRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends UpdateAutonomousDatabaseRequest.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.