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.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fis.model.FisRequest.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
-
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.Builder
avoiding the need to create one manually viaCreateExperimentTemplateStopConditionInput.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaCreateExperimentTemplateLogConfigurationInput.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
CreateExperimentTemplateRequest.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
CreateExperimentTemplateRequest.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.
-