@Generated(value="software.amazon.awssdk:codegen") public class UsernameExistsException extends CognitoIdentityProviderException implements ToCopyableBuilder<UsernameExistsException.Builder,UsernameExistsException>
This exception is thrown when Amazon Cognito encounters a user name that already exists in the user pool.
Modifier and Type | Class and Description |
---|---|
static interface |
UsernameExistsException.Builder |
Modifier and Type | Method and Description |
---|---|
static UsernameExistsException.Builder |
builder() |
static Class<? extends UsernameExistsException.Builder> |
serializableBuilderClass() |
UsernameExistsException.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public UsernameExistsException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UsernameExistsException.Builder,UsernameExistsException>
public static UsernameExistsException.Builder builder()
public static Class<? extends UsernameExistsException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.