Class BacktrackDbClusterRequest

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

@Generated("software.amazon.awssdk:codegen") public final class BacktrackDbClusterRequest extends RdsRequest implements ToCopyableBuilder<BacktrackDbClusterRequest.Builder,BacktrackDbClusterRequest>

  • Method Details

    • dbClusterIdentifier

      public final String dbClusterIdentifier()

      The DB cluster identifier of the DB cluster to be backtracked. This parameter is stored as a lowercase string.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.

      • First character must be a letter.

      • Can't end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster1

      Returns:
      The DB cluster identifier of the DB cluster to be backtracked. This parameter is stored as a lowercase string.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.

      • First character must be a letter.

      • Can't end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster1

    • backtrackTo

      public final Instant backtrackTo()

      The timestamp of the time to backtrack the DB cluster to, specified in ISO 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.

      If the specified time isn't a consistent time for the DB cluster, Aurora automatically chooses the nearest possible consistent time for the DB cluster.

      Constraints:

      • Must contain a valid ISO 8601 timestamp.

      • Can't contain a timestamp set in the future.

      Example: 2017-07-08T18:00Z

      Returns:
      The timestamp of the time to backtrack the DB cluster to, specified in ISO 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.

      If the specified time isn't a consistent time for the DB cluster, Aurora automatically chooses the nearest possible consistent time for the DB cluster.

      Constraints:

      • Must contain a valid ISO 8601 timestamp.

      • Can't contain a timestamp set in the future.

      Example: 2017-07-08T18:00Z

    • force

      public final Boolean force()

      Specifies whether to force the DB cluster to backtrack when binary logging is enabled. Otherwise, an error occurs when binary logging is enabled.

      Returns:
      Specifies whether to force the DB cluster to backtrack when binary logging is enabled. Otherwise, an error occurs when binary logging is enabled.
    • useEarliestTimeOnPointInTimeUnavailable

      public final Boolean useEarliestTimeOnPointInTimeUnavailable()

      Specifies whether to backtrack the DB cluster to the earliest possible backtrack time when BacktrackTo is set to a timestamp earlier than the earliest backtrack time. When this parameter is disabled and BacktrackTo is set to a timestamp earlier than the earliest backtrack time, an error occurs.

      Returns:
      Specifies whether to backtrack the DB cluster to the earliest possible backtrack time when BacktrackTo is set to a timestamp earlier than the earliest backtrack time. When this parameter is disabled and BacktrackTo is set to a timestamp earlier than the earliest backtrack time, an error occurs.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<BacktrackDbClusterRequest.Builder,BacktrackDbClusterRequest>
      Specified by:
      toBuilder in class RdsRequest
    • builder

      public static BacktrackDbClusterRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends BacktrackDbClusterRequest.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)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo