Interface CreateExperimentTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateExperimentTemplateRequest.Builder,CreateExperimentTemplateRequest>,FisRequest.Builder,SdkBuilder<CreateExperimentTemplateRequest.Builder,CreateExperimentTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateExperimentTemplateRequest
public static interface CreateExperimentTemplateRequest.Builder extends FisRequest.Builder, SdkPojo, CopyableBuilder<CreateExperimentTemplateRequest.Builder,CreateExperimentTemplateRequest>
-
-
Method Summary
-
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 Detail
-
clientToken
CreateExperimentTemplateRequest.Builder clientToken(String 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
CreateExperimentTemplateRequest.Builder description(String 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 to#stopConditions(List.) - 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:
#stopConditions(java.util.Collection)
-
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
CreateExperimentTemplateRequest.Builder roleArn(String 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
CreateExperimentTemplateRequest.Builder tags(Map<String,String> 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:
logConfiguration(CreateExperimentTemplateLogConfigurationInput)
-
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:
experimentOptions(CreateExperimentTemplateExperimentOptionsInput)
-
overrideConfiguration
CreateExperimentTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateExperimentTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-