Interface ExperimentTemplate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExperimentTemplate.Builder,ExperimentTemplate>,SdkBuilder<ExperimentTemplate.Builder,ExperimentTemplate>,SdkPojo
- Enclosing class:
- ExperimentTemplate
public static interface ExperimentTemplate.Builder extends SdkPojo, CopyableBuilder<ExperimentTemplate.Builder,ExperimentTemplate>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
id
ExperimentTemplate.Builder id(String 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
ExperimentTemplate.Builder description(String description)
The description for the experiment template.
- Parameters:
description- The description for the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
ExperimentTemplate.Builder targets(Map<String,ExperimentTemplateTarget> 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
ExperimentTemplate.Builder actions(Map<String,ExperimentTemplateAction> 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.
-
stopConditions
ExperimentTemplate.Builder stopConditions(Collection<ExperimentTemplateStopCondition> 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
ExperimentTemplate.Builder stopConditions(ExperimentTemplateStopCondition... 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
ExperimentTemplate.Builder stopConditions(Consumer<ExperimentTemplateStopCondition.Builder>... stopConditions)
The stop conditions for the experiment.
This is a convenience method that creates an instance of theExperimentTemplateStopCondition.Builderavoiding the need to create one manually viaExperimentTemplateStopCondition.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 onExperimentTemplateStopCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stopConditions(java.util.Collection)
-
creationTime
ExperimentTemplate.Builder creationTime(Instant creationTime)
The time the experiment template was created.
- Parameters:
creationTime- The time the experiment template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
ExperimentTemplate.Builder lastUpdateTime(Instant lastUpdateTime)
The time the experiment template was last updated.
- Parameters:
lastUpdateTime- The time the experiment template was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
ExperimentTemplate.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ExperimentTemplate.Builder tags(Map<String,String> tags)
The tags for the experiment template.
- Parameters:
tags- The tags for the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
ExperimentTemplate.Builder logConfiguration(ExperimentTemplateLogConfiguration 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 ExperimentTemplate.Builder logConfiguration(Consumer<ExperimentTemplateLogConfiguration.Builder> logConfiguration)
The configuration for experiment logging.
This is a convenience method that creates an instance of theExperimentTemplateLogConfiguration.Builderavoiding the need to create one manually viaExperimentTemplateLogConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologConfiguration(ExperimentTemplateLogConfiguration).- Parameters:
logConfiguration- a consumer that will call methods onExperimentTemplateLogConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logConfiguration(ExperimentTemplateLogConfiguration)
-
-