@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentRunInProgressException extends AmazonInspectorException
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 ARNs of the assessment runs that are currently in progress.
|
Boolean |
getAssessmentRunArnsTruncated()
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
|
Boolean |
getCanRetry()
You can immediately retry your request.
|
Boolean |
isAssessmentRunArnsTruncated()
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
|
Boolean |
isCanRetry()
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.
|
AssessmentRunInProgressException |
withAssessmentRunArns(Collection<String> assessmentRunArns)
The ARNs of the assessment runs that are currently in progress.
|
AssessmentRunInProgressException |
withAssessmentRunArns(String... assessmentRunArns)
The ARNs of the assessment runs that are currently in progress.
|
AssessmentRunInProgressException |
withAssessmentRunArnsTruncated(Boolean assessmentRunArnsTruncated)
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
|
AssessmentRunInProgressException |
withCanRetry(Boolean canRetry)
You can immediately retry your request.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AssessmentRunInProgressException(String message)
message
- Describes the error encountered.public List<String> getAssessmentRunArns()
The ARNs of the assessment runs that are currently in progress.
public void setAssessmentRunArns(Collection<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(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(Collection<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(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 Boolean getAssessmentRunArnsTruncated()
Boolean value that indicates whether the ARN list of the assessment runs is truncated.
public AssessmentRunInProgressException withAssessmentRunArnsTruncated(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 Boolean isAssessmentRunArnsTruncated()
Boolean value that indicates whether the ARN list of the assessment runs 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.