Interface StartExperimentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartExperimentRequest.Builder,,StartExperimentRequest> FisRequest.Builder,SdkBuilder<StartExperimentRequest.Builder,,StartExperimentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartExperimentRequest
public static interface StartExperimentRequest.Builder
extends FisRequest.Builder, SdkPojo, CopyableBuilder<StartExperimentRequest.Builder,StartExperimentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default StartExperimentRequest.BuilderexperimentOptions(Consumer<StartExperimentExperimentOptionsInput.Builder> experimentOptions) The experiment options for running the experiment.experimentOptions(StartExperimentExperimentOptionsInput experimentOptions) The experiment options for running the experiment.experimentTemplateId(String experimentTemplateId) The ID of the experiment template.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to apply to the experiment.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.fis.model.FisRequest.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
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentTemplateId
The ID of the experiment template.
- Parameters:
experimentTemplateId- The ID of the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentOptions
StartExperimentRequest.Builder experimentOptions(StartExperimentExperimentOptionsInput experimentOptions) The experiment options for running the experiment.
- Parameters:
experimentOptions- The experiment options for running the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentOptions
default StartExperimentRequest.Builder experimentOptions(Consumer<StartExperimentExperimentOptionsInput.Builder> experimentOptions) The experiment options for running the experiment.
This is a convenience method that creates an instance of theStartExperimentExperimentOptionsInput.Builderavoiding the need to create one manually viaStartExperimentExperimentOptionsInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexperimentOptions(StartExperimentExperimentOptionsInput).- Parameters:
experimentOptions- a consumer that will call methods onStartExperimentExperimentOptionsInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to apply to the experiment.
- Parameters:
tags- The tags to apply to the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartExperimentRequest.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
StartExperimentRequest.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.
-