@Generated(value="software.amazon.awssdk:codegen") public 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()
Take this object and create a builder that contains all of the current property values of this object.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PolicyNotAttachableException.Builder,PolicyNotAttachableException>
public static PolicyNotAttachableException.Builder builder()
public static Class<? extends PolicyNotAttachableException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.