Class AssessmentRunInProgressException

All Implemented Interfaces:
Serializable

public class AssessmentRunInProgressException extends AmazonServiceException

You cannot perform a specified action if an assessment run is currently in progress.

See Also:
  • Constructor Details

    • AssessmentRunInProgressException

      public AssessmentRunInProgressException(String message)
      Constructs a new AssessmentRunInProgressException with the specified error message.
      Parameters:
      message - Describes the error encountered.
  • Method Details

    • getAssessmentRunArns

      public List<String> 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

      public void setAssessmentRunArns(Collection<String> assessmentRunArns)

      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

      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.

      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

      public AssessmentRunInProgressException withAssessmentRunArns(Collection<String> assessmentRunArns)

      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

      public void setAssessmentRunArnsTruncated(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.
    • getAssessmentRunArnsTruncated

      public Boolean 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

      public Boolean 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

      public void setCanRetry(Boolean canRetry)

      You can immediately retry your request.

      Parameters:
      canRetry - You can immediately retry your request.
    • getCanRetry

      public Boolean getCanRetry()

      You can immediately retry your request.

      Returns:
      You can immediately retry your request.
    • withCanRetry

      public AssessmentRunInProgressException withCanRetry(Boolean canRetry)

      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

      public Boolean isCanRetry()

      You can immediately retry your request.

      Returns:
      You can immediately retry your request.