public class AssessmentRunInProgressException extends AmazonServiceException
You cannot perform a specified action if an assessment run is currently in progress.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
assessmentRunArns
The ARNs of the assessment runs that are currently in progress.
|
private java.lang.Boolean |
assessmentRunArnsTruncated
Boolean value that indicates whether the ARN list of the assessment runs
is truncated.
|
private java.lang.Boolean |
canRetry
You can immediately retry your request.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
AssessmentRunInProgressException(java.lang.String message)
Constructs a new AssessmentRunInProgressException with the specified
error message.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAssessmentRunArns()
The ARNs of the assessment runs that are currently in progress.
|
java.lang.Boolean |
getAssessmentRunArnsTruncated()
Boolean value that indicates whether the ARN list of the assessment runs
is truncated.
|
java.lang.Boolean |
getCanRetry()
You can immediately retry your request.
|
java.lang.Boolean |
isAssessmentRunArnsTruncated()
Boolean value that indicates whether the ARN list of the assessment runs
is truncated.
|
java.lang.Boolean |
isCanRetry()
You can immediately retry your request.
|
void |
setAssessmentRunArns(java.util.Collection<java.lang.String> assessmentRunArns)
The ARNs of the assessment runs that are currently in progress.
|
void |
setAssessmentRunArnsTruncated(java.lang.Boolean assessmentRunArnsTruncated)
Boolean value that indicates whether the ARN list of the assessment runs
is truncated.
|
void |
setCanRetry(java.lang.Boolean canRetry)
You can immediately retry your request.
|
AssessmentRunInProgressException |
withAssessmentRunArns(java.util.Collection<java.lang.String> assessmentRunArns)
The ARNs of the assessment runs that are currently in progress.
|
AssessmentRunInProgressException |
withAssessmentRunArns(java.lang.String... assessmentRunArns)
The ARNs of the assessment runs that are currently in progress.
|
AssessmentRunInProgressException |
withAssessmentRunArnsTruncated(java.lang.Boolean assessmentRunArnsTruncated)
Boolean value that indicates whether the ARN list of the assessment runs
is truncated.
|
AssessmentRunInProgressException |
withCanRetry(java.lang.Boolean canRetry)
You can immediately retry your request.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.util.List<java.lang.String> assessmentRunArns
The ARNs of the assessment runs that are currently in progress.
private java.lang.Boolean assessmentRunArnsTruncated
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
private java.lang.Boolean canRetry
You can immediately retry your request.
public AssessmentRunInProgressException(java.lang.String message)
message
- Describes the error encountered.public java.util.List<java.lang.String> getAssessmentRunArns()
The ARNs of the assessment runs that are currently in progress.
public void setAssessmentRunArns(java.util.Collection<java.lang.String> assessmentRunArns)
The ARNs of the assessment runs that are currently in progress.
assessmentRunArns
- The ARNs of the assessment runs that are currently in progress.public AssessmentRunInProgressException withAssessmentRunArns(java.lang.String... assessmentRunArns)
The ARNs of the assessment runs that are currently in progress.
NOTE: This method appends the values to the existing list (if
any). Use setAssessmentRunArns(java.util.Collection)
or
withAssessmentRunArns(java.util.Collection)
if you want to
override the existing values.
assessmentRunArns
- The ARNs of the assessment runs that are currently in progress.public AssessmentRunInProgressException withAssessmentRunArns(java.util.Collection<java.lang.String> assessmentRunArns)
The ARNs of the assessment runs that are currently in progress.
assessmentRunArns
- The ARNs of the assessment runs that are currently in progress.public void setAssessmentRunArnsTruncated(java.lang.Boolean assessmentRunArnsTruncated)
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
assessmentRunArnsTruncated
- Boolean value that indicates whether the ARN list of the
assessment runs is truncated.public java.lang.Boolean getAssessmentRunArnsTruncated()
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
public AssessmentRunInProgressException withAssessmentRunArnsTruncated(java.lang.Boolean assessmentRunArnsTruncated)
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
assessmentRunArnsTruncated
- Boolean value that indicates whether the ARN list of the
assessment runs is truncated.public java.lang.Boolean isAssessmentRunArnsTruncated()
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
public void setCanRetry(java.lang.Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.public java.lang.Boolean getCanRetry()
You can immediately retry your request.
public AssessmentRunInProgressException withCanRetry(java.lang.Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.public java.lang.Boolean isCanRetry()
You can immediately retry your request.