@Generated(value="software.amazon.awssdk:codegen") public final class DuplicatePolicyException extends OrganizationsException implements ToCopyableBuilder<DuplicatePolicyException.Builder,DuplicatePolicyException>
A policy with the same name already exists.
Modifier and Type | Class and Description |
---|---|
static interface |
DuplicatePolicyException.Builder |
Modifier and Type | Method and Description |
---|---|
static DuplicatePolicyException.Builder |
builder() |
static Class<? extends DuplicatePolicyException.Builder> |
serializableBuilderClass() |
DuplicatePolicyException.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 DuplicatePolicyException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<DuplicatePolicyException.Builder,DuplicatePolicyException>
toBuilder
in class OrganizationsException
public static DuplicatePolicyException.Builder builder()
public static Class<? extends DuplicatePolicyException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.