public class AssessmentRunInProgressException extends AmazonServiceException
You cannot perform a specified action if an assessment run is currently in progress.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
AssessmentRunInProgressException(String message)
Constructs a new AssessmentRunInProgressException with the specified
error message.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAssessmentRunArns()
The ARN(s) of the assessment run(s) that are currently in progress.
|
Boolean |
getAssessmentRunArnsTruncated()
Boolean value indicating whether the assessment runs ARN list is
truncated.
|
Boolean |
getCanRetry()
You can immediately retry your request.
|
Boolean |
isAssessmentRunArnsTruncated()
Boolean value indicating whether the assessment runs ARN list is
truncated.
|
Boolean |
isCanRetry()
You can immediately retry your request.
|
void |
setAssessmentRunArns(Collection<String> assessmentRunArns)
The ARN(s) of the assessment run(s) that are currently in progress.
|
void |
setAssessmentRunArnsTruncated(Boolean assessmentRunArnsTruncated)
Boolean value indicating whether the assessment runs ARN list is
truncated.
|
void |
setCanRetry(Boolean canRetry)
You can immediately retry your request.
|
AssessmentRunInProgressException |
withAssessmentRunArns(Collection<String> assessmentRunArns)
The ARN(s) of the assessment run(s) that are currently in progress.
|
AssessmentRunInProgressException |
withAssessmentRunArns(String... assessmentRunArns)
The ARN(s) of the assessment run(s) that are currently in progress.
|
AssessmentRunInProgressException |
withAssessmentRunArnsTruncated(Boolean assessmentRunArnsTruncated)
Boolean value indicating whether the assessment runs ARN list is
truncated.
|
AssessmentRunInProgressException |
withCanRetry(Boolean canRetry)
You can immediately retry your request.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AssessmentRunInProgressException(String message)
message - Describes the error encountered.public List<String> getAssessmentRunArns()
The ARN(s) of the assessment run(s) that are currently in progress.
public void setAssessmentRunArns(Collection<String> assessmentRunArns)
The ARN(s) of the assessment run(s) that are currently in progress.
assessmentRunArns - The ARN(s) of the assessment run(s) that are currently in
progress.public AssessmentRunInProgressException withAssessmentRunArns(String... assessmentRunArns)
The ARN(s) of the assessment run(s) 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 ARN(s) of the assessment run(s) that are currently in
progress.public AssessmentRunInProgressException withAssessmentRunArns(Collection<String> assessmentRunArns)
The ARN(s) of the assessment run(s) that are currently in progress.
assessmentRunArns - The ARN(s) of the assessment run(s) that are currently in
progress.public void setAssessmentRunArnsTruncated(Boolean assessmentRunArnsTruncated)
Boolean value indicating whether the assessment runs ARN list is truncated.
assessmentRunArnsTruncated - Boolean value indicating whether the assessment runs ARN list is
truncated.public Boolean getAssessmentRunArnsTruncated()
Boolean value indicating whether the assessment runs ARN list is truncated.
public AssessmentRunInProgressException withAssessmentRunArnsTruncated(Boolean assessmentRunArnsTruncated)
Boolean value indicating whether the assessment runs ARN list is truncated.
assessmentRunArnsTruncated - Boolean value indicating whether the assessment runs ARN list is
truncated.public Boolean isAssessmentRunArnsTruncated()
Boolean value indicating whether the assessment runs ARN list is truncated.
public void setCanRetry(Boolean canRetry)
You can immediately retry your request.
canRetry - You can immediately retry your request.public Boolean getCanRetry()
You can immediately retry your request.
public AssessmentRunInProgressException withCanRetry(Boolean canRetry)
You can immediately retry your request.
canRetry - You can immediately retry your request.public Boolean isCanRetry()
You can immediately retry your request.
Copyright © 2016. All rights reserved.