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 Summary
Modifier and TypeMethodDescriptionassessmentRunArn(String assessmentRunArn) The ARN of the assessment run that you want to stop.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.stopAction(String stopAction) An input option that can be set to either START_EVALUATION or SKIP_EVALUATION.stopAction(StopAction stopAction) An input option that can be set to either START_EVALUATION or SKIP_EVALUATION.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StopAssessmentRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-