@Generated(value="software.amazon.awssdk:codegen") public final class InvalidRoleException extends CodeDeployException implements ToCopyableBuilder<InvalidRoleException.Builder,InvalidRoleException>
The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.
Modifier and Type | Class and Description |
---|---|
static interface |
InvalidRoleException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidRoleException.Builder |
builder() |
static Class<? extends InvalidRoleException.Builder> |
serializableBuilderClass() |
InvalidRoleException.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 InvalidRoleException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<InvalidRoleException.Builder,InvalidRoleException>
toBuilder
in class CodeDeployException
public static InvalidRoleException.Builder builder()
public static Class<? extends InvalidRoleException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.