Class CancelRotateSecretResponse

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

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

    • arn

      public final String arn()

      The ARN of the secret.

      Returns:
      The ARN of the secret.
    • name

      public final String name()

      The name of the secret.

      Returns:
      The name of the secret.
    • versionId

      public final String versionId()

      The unique identifier of the version of the secret created during the rotation. This version might not be complete, and should be evaluated for possible deletion. We recommend that you remove the VersionStage value AWSPENDING from this version so that Secrets Manager can delete it. Failing to clean up a cancelled rotation can block you from starting future rotations.

      Returns:
      The unique identifier of the version of the secret created during the rotation. This version might not be complete, and should be evaluated for possible deletion. We recommend that you remove the VersionStage value AWSPENDING from this version so that Secrets Manager can delete it. Failing to clean up a cancelled rotation can block you from starting future rotations.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<CancelRotateSecretResponse.Builder,CancelRotateSecretResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static CancelRotateSecretResponse.Builder builder()
    • serializableBuilderClass

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

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • 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 SdkResponse
    • 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