Interface StopExperimentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StopExperimentRequest.Builder,
,StopExperimentRequest> EvidentlyRequest.Builder
,SdkBuilder<StopExperimentRequest.Builder,
,StopExperimentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StopExperimentRequest
public static interface StopExperimentRequest.Builder
extends EvidentlyRequest.Builder, SdkPojo, CopyableBuilder<StopExperimentRequest.Builder,StopExperimentRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondesiredState
(String desiredState) Specify whether the experiment is to be consideredCOMPLETED
orCANCELLED
after it stops.desiredState
(ExperimentStopDesiredState desiredState) Specify whether the experiment is to be consideredCOMPLETED
orCANCELLED
after it stops.experiment
(String experiment) The name of the experiment to stop.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name or ARN of the project that contains the experiment to stop.A string that describes why you are stopping the experiment.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.evidently.model.EvidentlyRequest.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
-
desiredState
Specify whether the experiment is to be considered
COMPLETED
orCANCELLED
after it stops.- Parameters:
desiredState
- Specify whether the experiment is to be consideredCOMPLETED
orCANCELLED
after it stops.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredState
Specify whether the experiment is to be considered
COMPLETED
orCANCELLED
after it stops.- Parameters:
desiredState
- Specify whether the experiment is to be consideredCOMPLETED
orCANCELLED
after it stops.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experiment
The name of the experiment to stop.
- Parameters:
experiment
- The name of the experiment to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The name or ARN of the project that contains the experiment to stop.
- Parameters:
project
- The name or ARN of the project that contains the experiment to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
A string that describes why you are stopping the experiment.
- Parameters:
reason
- A string that describes why you are stopping the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StopExperimentRequest.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
StopExperimentRequest.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.
-