@Generated(value="software.amazon.awssdk:codegen") public final class PolicyInUseException extends OrganizationsException implements ToCopyableBuilder<PolicyInUseException.Builder,PolicyInUseException>
The policy is attached to one or more entities. You must detach it from all roots, organizational units (OUs), and accounts before performing this operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicyInUseException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PolicyInUseException.Builder |
builder() |
static Class<? extends PolicyInUseException.Builder> |
serializableBuilderClass() |
PolicyInUseException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException. |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic PolicyInUseException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<PolicyInUseException.Builder,PolicyInUseException>toBuilder in class OrganizationsExceptionpublic static PolicyInUseException.Builder builder()
public static Class<? extends PolicyInUseException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.