Class ClientSecretDescriptorType

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

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

Contains information about a client secret, including its unique identifier, value, and creation timestamp.

See Also:
  • Method Details

    • clientSecretId

      public final String clientSecretId()

      The unique identifier for the client secret. This identifier follows the format <client-id>--<epoch-create-time>.

      Returns:
      The unique identifier for the client secret. This identifier follows the format <client-id>--<epoch-create-time>.
    • clientSecretValue

      public final String clientSecretValue()

      The actual secret value. This is only returned when creating a new secret and only if Amazon Cognito generated the secret. For custom secrets that you provide, this field is not included in the response.

      Returns:
      The actual secret value. This is only returned when creating a new secret and only if Amazon Cognito generated the secret. For custom secrets that you provide, this field is not included in the response.
    • clientSecretCreateDate

      public final Instant clientSecretCreateDate()

      The date and time when the client secret was created.

      Returns:
      The date and time when the client secret was created.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ClientSecretDescriptorType.Builder,ClientSecretDescriptorType>
    • builder

      public static ClientSecretDescriptorType.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ClientSecretDescriptorType.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)
      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)
    • 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