@Generated(value="software.amazon.awssdk:codegen") public final class PolicyTypeNotEnabledException extends OrganizationsException implements ToCopyableBuilder<PolicyTypeNotEnabledException.Builder,PolicyTypeNotEnabledException>
The specified policy type is not currently enabled in this root. You cannot attach policies of the specified type to entities in a root until you enable that type in the root. For more information, see Enabling All Features in Your Organization in the AWS Organizations User Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyTypeNotEnabledException.Builder |
Modifier and Type | Method and Description |
---|---|
static PolicyTypeNotEnabledException.Builder |
builder() |
static Class<? extends PolicyTypeNotEnabledException.Builder> |
serializableBuilderClass() |
PolicyTypeNotEnabledException.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 PolicyTypeNotEnabledException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<PolicyTypeNotEnabledException.Builder,PolicyTypeNotEnabledException>
toBuilder
in class OrganizationsException
public static PolicyTypeNotEnabledException.Builder builder()
public static Class<? extends PolicyTypeNotEnabledException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.