@Generated(value="software.amazon.awssdk:codegen") public final class MasterCannotLeaveOrganizationException extends OrganizationsException implements ToCopyableBuilder<MasterCannotLeaveOrganizationException.Builder,MasterCannotLeaveOrganizationException>
You can't remove a master account from an organization. If you want the master account to become a member account in another organization, you must first delete the current organization of the master account.
Modifier and Type | Class and Description |
---|---|
static interface |
MasterCannotLeaveOrganizationException.Builder |
Modifier and Type | Method and Description |
---|---|
static MasterCannotLeaveOrganizationException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MasterCannotLeaveOrganizationException.Builder> |
serializableBuilderClass() |
MasterCannotLeaveOrganizationException.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 MasterCannotLeaveOrganizationException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<MasterCannotLeaveOrganizationException.Builder,MasterCannotLeaveOrganizationException>
toBuilder
in class OrganizationsException
public static MasterCannotLeaveOrganizationException.Builder builder()
public static Class<? extends MasterCannotLeaveOrganizationException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.