Serializable
, ToCopyableBuilder<PolicyInUseException.Builder,PolicyInUseException>
@Generated("software.amazon.awssdk:codegen") public 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 | Description |
---|---|---|
static interface |
PolicyInUseException.Builder |
AmazonServiceException.ErrorType
Modifier and Type | Method | Description |
---|---|---|
static PolicyInUseException.Builder |
builder() |
|
static Class<? extends PolicyInUseException.Builder> |
serializableBuilderClass() |
|
PolicyInUseException.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
isRetryable
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PolicyInUseException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PolicyInUseException.Builder,PolicyInUseException>
public static PolicyInUseException.Builder builder()
public static Class<? extends PolicyInUseException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.