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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector.model.InspectorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-