Interface StopAssessmentRunRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<StopAssessmentRunRequest.Builder,StopAssessmentRunRequest>, InspectorRequest.Builder, SdkBuilder<StopAssessmentRunRequest.Builder,StopAssessmentRunRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
StopAssessmentRunRequest

public static interface StopAssessmentRunRequest.Builder extends InspectorRequest.Builder, SdkPojo, CopyableBuilder<StopAssessmentRunRequest.Builder,StopAssessmentRunRequest>
  • Method Details

    • assessmentRunArn

      StopAssessmentRunRequest.Builder assessmentRunArn(String assessmentRunArn)

      The ARN of the assessment run that you want to stop.

      Parameters:
      assessmentRunArn - The ARN of the assessment run that you want to stop.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stopAction

      StopAssessmentRunRequest.Builder stopAction(String stopAction)

      An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.

      Parameters:
      stopAction - An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stopAction

      An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.

      Parameters:
      stopAction - An input option that can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      StopAssessmentRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.