Class AssessmentRunInProgressException
- All Implemented Interfaces:
Serializable
You cannot perform a specified action if an assessment run is currently in progress.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
Constructor Summary
ConstructorsConstructorDescriptionAssessmentRunInProgressException
(String message) Constructs a new AssessmentRunInProgressException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionThe ARNs of the assessment runs that are currently in progress.Boolean value that indicates whether the ARN list of the assessment runs is truncated.You can immediately retry your request.Boolean value that indicates whether the ARN list of the assessment runs is truncated.You can immediately retry your request.void
setAssessmentRunArns
(Collection<String> assessmentRunArns) The ARNs of the assessment runs that are currently in progress.void
setAssessmentRunArnsTruncated
(Boolean assessmentRunArnsTruncated) Boolean value that indicates whether the ARN list of the assessment runs is truncated.void
setCanRetry
(Boolean canRetry) You can immediately retry your request.withAssessmentRunArns
(String... assessmentRunArns) The ARNs of the assessment runs that are currently in progress.withAssessmentRunArns
(Collection<String> assessmentRunArns) The ARNs of the assessment runs that are currently in progress.withAssessmentRunArnsTruncated
(Boolean assessmentRunArnsTruncated) Boolean value that indicates whether the ARN list of the assessment runs is truncated.withCanRetry
(Boolean canRetry) You can immediately retry your request.Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssessmentRunInProgressException
Constructs a new AssessmentRunInProgressException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-
Method Details
-
getAssessmentRunArns
The ARNs of the assessment runs that are currently in progress.
- Returns:
- The ARNs of the assessment runs that are currently in progress.
-
setAssessmentRunArns
The ARNs of the assessment runs that are currently in progress.
- Parameters:
assessmentRunArns
- The ARNs of the assessment runs that are currently in progress.
-
withAssessmentRunArns
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)
orwithAssessmentRunArns(java.util.Collection)
if you want to override the existing values.- Parameters:
assessmentRunArns
- The ARNs of the assessment runs that are currently in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAssessmentRunArns
The ARNs of the assessment runs that are currently in progress.
- Parameters:
assessmentRunArns
- The ARNs of the assessment runs that are currently in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAssessmentRunArnsTruncated
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
- Parameters:
assessmentRunArnsTruncated
- Boolean value that indicates whether the ARN list of the assessment runs is truncated.
-
getAssessmentRunArnsTruncated
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
- Returns:
- Boolean value that indicates whether the ARN list of the assessment runs is truncated.
-
withAssessmentRunArnsTruncated
public AssessmentRunInProgressException withAssessmentRunArnsTruncated(Boolean assessmentRunArnsTruncated) Boolean value that indicates whether the ARN list of the assessment runs is truncated.
- Parameters:
assessmentRunArnsTruncated
- Boolean value that indicates whether the ARN list of the assessment runs is truncated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAssessmentRunArnsTruncated
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
- Returns:
- Boolean value that indicates whether the ARN list of the assessment runs is truncated.
-
setCanRetry
You can immediately retry your request.
- Parameters:
canRetry
- You can immediately retry your request.
-
getCanRetry
You can immediately retry your request.
- Returns:
- You can immediately retry your request.
-
withCanRetry
You can immediately retry your request.
- Parameters:
canRetry
- You can immediately retry your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCanRetry
You can immediately retry your request.
- Returns:
- You can immediately retry your request.
-