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.The Amazon Resource Name (ARN) of the experiment template.creationTime
(Instant creationTime) The time the experiment template was created.description
(String description) The description for the experiment template.default ExperimentTemplate.Builder
experimentOptions
(Consumer<ExperimentTemplateExperimentOptions.Builder> experimentOptions) The experiment options for an experiment template.experimentOptions
(ExperimentTemplateExperimentOptions experimentOptions) The experiment options for an experiment template.default ExperimentTemplate.Builder
experimentReportConfiguration
(Consumer<ExperimentTemplateReportConfiguration.Builder> experimentReportConfiguration) Describes the report configuration for the experiment template.experimentReportConfiguration
(ExperimentTemplateReportConfiguration experimentReportConfiguration) Describes the report configuration 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.targetAccountConfigurationsCount
(Long targetAccountConfigurationsCount) The count of target account configurations 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, sdkFieldNameToField, 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.
-
arn
The Amazon Resource Name (ARN) of the experiment template.
- Parameters:
arn
- The Amazon Resource Name (ARN) 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:
-
experimentOptions
The experiment options for an experiment template.
- Parameters:
experimentOptions
- The experiment options for an experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentOptions
default ExperimentTemplate.Builder experimentOptions(Consumer<ExperimentTemplateExperimentOptions.Builder> experimentOptions) The experiment options for an experiment template.
This is a convenience method that creates an instance of theExperimentTemplateExperimentOptions.Builder
avoiding the need to create one manually viaExperimentTemplateExperimentOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexperimentOptions(ExperimentTemplateExperimentOptions)
.- Parameters:
experimentOptions
- a consumer that will call methods onExperimentTemplateExperimentOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetAccountConfigurationsCount
The count of target account configurations for the experiment template.
- Parameters:
targetAccountConfigurationsCount
- The count of target account configurations for the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentReportConfiguration
ExperimentTemplate.Builder experimentReportConfiguration(ExperimentTemplateReportConfiguration experimentReportConfiguration) Describes the report configuration for the experiment template.
- Parameters:
experimentReportConfiguration
- Describes the report configuration for the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentReportConfiguration
default ExperimentTemplate.Builder experimentReportConfiguration(Consumer<ExperimentTemplateReportConfiguration.Builder> experimentReportConfiguration) Describes the report configuration for the experiment template.
This is a convenience method that creates an instance of theExperimentTemplateReportConfiguration.Builder
avoiding the need to create one manually viaExperimentTemplateReportConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexperimentReportConfiguration(ExperimentTemplateReportConfiguration)
.- Parameters:
experimentReportConfiguration
- a consumer that will call methods onExperimentTemplateReportConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-