@Generated(value="software.amazon.awssdk:codegen") public final class PolicyNotAttachableException extends IamException implements ToCopyableBuilder<PolicyNotAttachableException.Builder,PolicyNotAttachableException>
The request failed because Amazon Web Services 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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyNotAttachableException.Builder> |
serializableBuilderClass() |
PolicyNotAttachableException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic PolicyNotAttachableException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PolicyNotAttachableException.Builder,PolicyNotAttachableException>toBuilder in class IamExceptionpublic static PolicyNotAttachableException.Builder builder()
public static Class<? extends PolicyNotAttachableException.Builder> serializableBuilderClass()
Copyright © 2023. All rights reserved.