@Generated(value="software.amazon.awssdk:codegen") public final class DuplicatePolicyAttachmentException extends OrganizationsException implements ToCopyableBuilder<DuplicatePolicyAttachmentException.Builder,DuplicatePolicyAttachmentException>
The selected policy is already attached to the specified target.
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | DuplicatePolicyAttachmentException.Builder | 
| Modifier and Type | Method and Description | 
|---|---|
| static DuplicatePolicyAttachmentException.Builder | builder() | 
| static Class<? extends DuplicatePolicyAttachmentException.Builder> | serializableBuilderClass() | 
| DuplicatePolicyAttachmentException.Builder | toBuilder()Create a  AwsServiceException.Builderinitialized with the properties of thisAwsServiceException. | 
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic DuplicatePolicyAttachmentException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<DuplicatePolicyAttachmentException.Builder,DuplicatePolicyAttachmentException>toBuilder in class OrganizationsExceptionpublic static DuplicatePolicyAttachmentException.Builder builder()
public static Class<? extends DuplicatePolicyAttachmentException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.