@Generated(value="software.amazon.awssdk:codegen") public final class AliasExistsException extends CognitoIdentityProviderException implements ToCopyableBuilder<AliasExistsException.Builder,AliasExistsException>
This exception is thrown when a user tries to confirm the account with an email or phone number that has already been supplied as an alias from a different account. This exception tells user that an account with this email or phone already exists.
Modifier and Type | Class and Description |
---|---|
static interface |
AliasExistsException.Builder |
Modifier and Type | Method and Description |
---|---|
static AliasExistsException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AliasExistsException.Builder> |
serializableBuilderClass() |
AliasExistsException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public AliasExistsException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<AliasExistsException.Builder,AliasExistsException>
toBuilder
in class CognitoIdentityProviderException
public static AliasExistsException.Builder builder()
public static Class<? extends AliasExistsException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.