@Generated(value="software.amazon.awssdk:codegen") public final class PolicyNotAttachableException extends IamException implements ToCopyableBuilder<PolicyNotAttachableException.Builder,PolicyNotAttachableException>
The request failed because AWS service role policies can only be attached to the service-linked role for that service.
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyNotAttachableException.Builder |
Modifier and Type | Method and Description |
---|---|
static PolicyNotAttachableException.Builder |
builder() |
static Class<? extends PolicyNotAttachableException.Builder> |
serializableBuilderClass() |
PolicyNotAttachableException.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 PolicyNotAttachableException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<PolicyNotAttachableException.Builder,PolicyNotAttachableException>
toBuilder
in class IamException
public static PolicyNotAttachableException.Builder builder()
public static Class<? extends PolicyNotAttachableException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.