@Generated(value="software.amazon.awssdk:codegen") public final class PolicyTypeNotAvailableForOrganizationException extends OrganizationsException implements ToCopyableBuilder<PolicyTypeNotAvailableForOrganizationException.Builder,PolicyTypeNotAvailableForOrganizationException>
You can't use the specified policy type with the feature set currently enabled for this organization. For example, you can enable service control policies (SCPs) only after you enable all features in the organization. For more information, see Enabling and Disabling a Policy Type on a Root in the AWS Organizations User Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyTypeNotAvailableForOrganizationException.Builder |
Modifier and Type | Method and Description |
---|---|
static PolicyTypeNotAvailableForOrganizationException.Builder |
builder() |
static Class<? extends PolicyTypeNotAvailableForOrganizationException.Builder> |
serializableBuilderClass() |
PolicyTypeNotAvailableForOrganizationException.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 PolicyTypeNotAvailableForOrganizationException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<PolicyTypeNotAvailableForOrganizationException.Builder,PolicyTypeNotAvailableForOrganizationException>
toBuilder
in class OrganizationsException
public static PolicyTypeNotAvailableForOrganizationException.Builder builder()
public static Class<? extends PolicyTypeNotAvailableForOrganizationException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.