Interface CreateExperimentTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateExperimentTemplateRequest.Builder,,CreateExperimentTemplateRequest> FisRequest.Builder,SdkBuilder<CreateExperimentTemplateRequest.Builder,,CreateExperimentTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateExperimentTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionactions(Map<String, CreateExperimentTemplateActionInput> actions) The actions for the experiment.clientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) A description for the experiment template.experimentOptions(Consumer<CreateExperimentTemplateExperimentOptionsInput.Builder> experimentOptions) The experiment options for the experiment template.experimentOptions(CreateExperimentTemplateExperimentOptionsInput experimentOptions) The experiment options for the experiment template.logConfiguration(Consumer<CreateExperimentTemplateLogConfigurationInput.Builder> logConfiguration) The configuration for experiment logging.logConfiguration(CreateExperimentTemplateLogConfigurationInput 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<CreateExperimentTemplateStopConditionInput> stopConditions) The stop conditions.stopConditions(Consumer<CreateExperimentTemplateStopConditionInput.Builder>... stopConditions) The stop conditions.stopConditions(CreateExperimentTemplateStopConditionInput... stopConditions) The stop conditions.The tags to apply to the experiment template.targets(Map<String, CreateExperimentTemplateTargetInput> 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
-
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.
-
description
A description for the experiment template.
- Parameters:
description- A description for the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
CreateExperimentTemplateRequest.Builder stopConditions(Collection<CreateExperimentTemplateStopConditionInput> stopConditions) The stop conditions.
- Parameters:
stopConditions- The stop conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
CreateExperimentTemplateRequest.Builder stopConditions(CreateExperimentTemplateStopConditionInput... stopConditions) The stop conditions.
- Parameters:
stopConditions- The stop conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
CreateExperimentTemplateRequest.Builder stopConditions(Consumer<CreateExperimentTemplateStopConditionInput.Builder>... stopConditions) The stop conditions.
This is a convenience method that creates an instance of theCreateExperimentTemplateStopConditionInput.Builderavoiding the need to create one manually viaCreateExperimentTemplateStopConditionInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostopConditions(List<CreateExperimentTemplateStopConditionInput>).- Parameters:
stopConditions- a consumer that will call methods onCreateExperimentTemplateStopConditionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targets
CreateExperimentTemplateRequest.Builder targets(Map<String, CreateExperimentTemplateTargetInput> 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
CreateExperimentTemplateRequest.Builder actions(Map<String, CreateExperimentTemplateActionInput> 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.
-
tags
The tags to apply to the experiment template.
- Parameters:
tags- The tags to apply to the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
CreateExperimentTemplateRequest.Builder logConfiguration(CreateExperimentTemplateLogConfigurationInput 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 CreateExperimentTemplateRequest.Builder logConfiguration(Consumer<CreateExperimentTemplateLogConfigurationInput.Builder> logConfiguration) The configuration for experiment logging.
This is a convenience method that creates an instance of theCreateExperimentTemplateLogConfigurationInput.Builderavoiding the need to create one manually viaCreateExperimentTemplateLogConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologConfiguration(CreateExperimentTemplateLogConfigurationInput).- Parameters:
logConfiguration- a consumer that will call methods onCreateExperimentTemplateLogConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experimentOptions
CreateExperimentTemplateRequest.Builder experimentOptions(CreateExperimentTemplateExperimentOptionsInput 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 CreateExperimentTemplateRequest.Builder experimentOptions(Consumer<CreateExperimentTemplateExperimentOptionsInput.Builder> experimentOptions) The experiment options for the experiment template.
This is a convenience method that creates an instance of theCreateExperimentTemplateExperimentOptionsInput.Builderavoiding the need to create one manually viaCreateExperimentTemplateExperimentOptionsInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexperimentOptions(CreateExperimentTemplateExperimentOptionsInput).- Parameters:
experimentOptions- a consumer that will call methods onCreateExperimentTemplateExperimentOptionsInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateExperimentTemplateRequest.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
CreateExperimentTemplateRequest.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.
-