Serializable
, ToCopyableBuilder<InvalidCrossAccountRoleException.Builder,InvalidCrossAccountRoleException>
@Generated("software.amazon.awssdk:codegen") public class InvalidCrossAccountRoleException extends InspectorException implements ToCopyableBuilder<InvalidCrossAccountRoleException.Builder,InvalidCrossAccountRoleException>
Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 instances during the assessment run.
Modifier and Type | Class | Description |
---|---|---|
static interface |
InvalidCrossAccountRoleException.Builder |
AmazonServiceException.ErrorType
Modifier and Type | Method | Description |
---|---|---|
static InvalidCrossAccountRoleException.Builder |
builder() |
|
Boolean |
canRetry() |
You can immediately retry your request.
|
String |
inspectorErrorCode() |
Code that indicates the type of error that is generated.
|
static Class<? extends InvalidCrossAccountRoleException.Builder> |
serializableBuilderClass() |
|
InvalidCrossAccountRoleException.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
isRetryable
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidCrossAccountRoleException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InvalidCrossAccountRoleException.Builder,InvalidCrossAccountRoleException>
public static InvalidCrossAccountRoleException.Builder builder()
public static Class<? extends InvalidCrossAccountRoleException.Builder> serializableBuilderClass()
public Boolean canRetry()
You can immediately retry your request.
public String inspectorErrorCode()
Code that indicates the type of error that is generated.
InvalidCrossAccountRoleErrorCode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.