@Generated(value="software.amazon.awssdk:codegen") public final class OrganizationNotEmptyException extends OrganizationsException implements ToCopyableBuilder<OrganizationNotEmptyException.Builder,OrganizationNotEmptyException>
The organization isn't empty. To delete an organization, you must first remove all accounts except the master account, delete all OUs, and delete all policies.
Modifier and Type | Class and Description |
---|---|
static interface |
OrganizationNotEmptyException.Builder |
Modifier and Type | Method and Description |
---|---|
static OrganizationNotEmptyException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends OrganizationNotEmptyException.Builder> |
serializableBuilderClass() |
OrganizationNotEmptyException.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 OrganizationNotEmptyException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<OrganizationNotEmptyException.Builder,OrganizationNotEmptyException>
toBuilder
in class OrganizationsException
public static OrganizationNotEmptyException.Builder builder()
public static Class<? extends OrganizationNotEmptyException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.