Class AssessmentRunInProgressException

    • Constructor Detail

      • AssessmentRunInProgressException

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

      • 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​(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.