@Generated(value="software.amazon.awssdk:codegen") public final class NotOrganizationMasterAccountException extends CloudTrailException implements ToCopyableBuilder<NotOrganizationMasterAccountException.Builder,NotOrganizationMasterAccountException>
This exception is thrown when the AWS account making the request to create or update an organization trail is not the master account for an organization in AWS Organizations. For more information, see Prepare For Creating a Trail For Your Organization.
Modifier and Type | Class and Description |
---|---|
static interface |
NotOrganizationMasterAccountException.Builder |
Modifier and Type | Method and Description |
---|---|
static NotOrganizationMasterAccountException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotOrganizationMasterAccountException.Builder> |
serializableBuilderClass() |
NotOrganizationMasterAccountException.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 NotOrganizationMasterAccountException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<NotOrganizationMasterAccountException.Builder,NotOrganizationMasterAccountException>
toBuilder
in class CloudTrailException
public static NotOrganizationMasterAccountException.Builder builder()
public static Class<? extends NotOrganizationMasterAccountException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.