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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantThe date and time when the client secret was created.final StringThe unique identifier for the client secret.final StringThe actual secret value.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ClientSecretDescriptorType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
The date and time when the client secret was created.
- Returns:
- The date and time when the client secret was created.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClientSecretDescriptorType.Builder,ClientSecretDescriptorType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-