Interface UpdateExperimentTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateExperimentTemplateRequest.Builder,,UpdateExperimentTemplateRequest> FisRequest.Builder,SdkBuilder<UpdateExperimentTemplateRequest.Builder,,UpdateExperimentTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateExperimentTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe actions for the experiment.description(String description) A description for the template.experimentOptions(Consumer<UpdateExperimentTemplateExperimentOptionsInput.Builder> experimentOptions) The experiment options for the experiment template.experimentOptions(UpdateExperimentTemplateExperimentOptionsInput experimentOptions) The experiment options for the experiment template.The ID of the experiment template.logConfiguration(Consumer<UpdateExperimentTemplateLogConfigurationInput.Builder> logConfiguration) The configuration for experiment logging.logConfiguration(UpdateExperimentTemplateLogConfigurationInput logConfiguration) The configuration for experiment logging.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.stopConditions(Collection<UpdateExperimentTemplateStopConditionInput> stopConditions) The stop conditions for the experiment.stopConditions(Consumer<UpdateExperimentTemplateStopConditionInput.Builder>... stopConditions) The stop conditions for the experiment.stopConditions(UpdateExperimentTemplateStopConditionInput... stopConditions) The stop conditions for the experiment.targets(Map<String, UpdateExperimentTemplateTargetInput> targets) The targets for 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
-
id
The ID of the experiment template.
- Parameters:
id- The ID of the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the template.
- Parameters:
description- A description for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
UpdateExperimentTemplateRequest.Builder stopConditions(Collection<UpdateExperimentTemplateStopConditionInput> stopConditions) The stop conditions for the experiment.
- Parameters:
stopConditions- The stop conditions for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
UpdateExperimentTemplateRequest.Builder stopConditions(UpdateExperimentTemplateStopConditionInput... stopConditions) The stop conditions for the experiment.
- Parameters:
stopConditions- The stop conditions for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
UpdateExperimentTemplateRequest.Builder stopConditions(Consumer<UpdateExperimentTemplateStopConditionInput.Builder>... stopConditions) The stop conditions for the experiment.
This is a convenience method that creates an instance of theUpdateExperimentTemplateStopConditionInput.Builderavoiding the need to create one manually viaUpdateExperimentTemplateStopConditionInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostopConditions(List<UpdateExperimentTemplateStopConditionInput>).- Parameters:
stopConditions- a consumer that will call methods onUpdateExperimentTemplateStopConditionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targets
UpdateExperimentTemplateRequest.Builder targets(Map<String, UpdateExperimentTemplateTargetInput> targets) The targets for the experiment.
- Parameters:
targets- The targets for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
UpdateExperimentTemplateRequest.Builder actions(Map<String, UpdateExperimentTemplateActionInputItem> actions) The actions for the experiment.
- Parameters:
actions- The actions for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
UpdateExperimentTemplateRequest.Builder logConfiguration(UpdateExperimentTemplateLogConfigurationInput logConfiguration) The configuration for experiment logging.
- Parameters:
logConfiguration- The configuration for experiment logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default UpdateExperimentTemplateRequest.Builder logConfiguration(Consumer<UpdateExperimentTemplateLogConfigurationInput.Builder> logConfiguration) The configuration for experiment logging.
This is a convenience method that creates an instance of theUpdateExperimentTemplateLogConfigurationInput.Builderavoiding the need to create one manually viaUpdateExperimentTemplateLogConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologConfiguration(UpdateExperimentTemplateLogConfigurationInput).- Parameters:
logConfiguration- a consumer that will call methods onUpdateExperimentTemplateLogConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experimentOptions
UpdateExperimentTemplateRequest.Builder experimentOptions(UpdateExperimentTemplateExperimentOptionsInput experimentOptions) The experiment options for the experiment template.
- Parameters:
experimentOptions- The experiment options for the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentOptions
default UpdateExperimentTemplateRequest.Builder experimentOptions(Consumer<UpdateExperimentTemplateExperimentOptionsInput.Builder> experimentOptions) The experiment options for the experiment template.
This is a convenience method that creates an instance of theUpdateExperimentTemplateExperimentOptionsInput.Builderavoiding the need to create one manually viaUpdateExperimentTemplateExperimentOptionsInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexperimentOptions(UpdateExperimentTemplateExperimentOptionsInput).- Parameters:
experimentOptions- a consumer that will call methods onUpdateExperimentTemplateExperimentOptionsInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateExperimentTemplateRequest.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
UpdateExperimentTemplateRequest.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.
-