Interface ExperimentTemplate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExperimentTemplate.Builder,
,ExperimentTemplate> SdkBuilder<ExperimentTemplate.Builder,
,ExperimentTemplate> SdkPojo
- Enclosing class:
ExperimentTemplate
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Map<String, ExperimentTemplateAction> actions) The actions for the experiment.creationTime
(Instant creationTime) The time the experiment template was created.description
(String description) The description for the experiment template.The ID of the experiment template.lastUpdateTime
(Instant lastUpdateTime) The time the experiment template was last updated.default ExperimentTemplate.Builder
logConfiguration
(Consumer<ExperimentTemplateLogConfiguration.Builder> logConfiguration) The configuration for experiment logging.logConfiguration
(ExperimentTemplateLogConfiguration logConfiguration) The configuration for experiment logging.The Amazon Resource Name (ARN) of an IAM role.stopConditions
(Collection<ExperimentTemplateStopCondition> stopConditions) The stop conditions for the experiment.stopConditions
(Consumer<ExperimentTemplateStopCondition.Builder>... stopConditions) The stop conditions for the experiment.stopConditions
(ExperimentTemplateStopCondition... stopConditions) The stop conditions for the experiment.The tags for the experiment template.targets
(Map<String, ExperimentTemplateTarget> targets) The targets for the experiment.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 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
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
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
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
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.Builder
avoiding the need to create one manually viaExperimentTemplateStopCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostopConditions(List<ExperimentTemplateStopCondition>)
.- 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:
-
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
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
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
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
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.Builder
avoiding the need to create one manually viaExperimentTemplateLogConfiguration.builder()
.When the
Consumer
completes,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:
-