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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExperimentTemplate.Builderactions(Map<String,ExperimentTemplateAction> actions)The actions for the experiment.ExperimentTemplate.Builderarn(String arn)The Amazon Resource Name (ARN) of the experiment template.ExperimentTemplate.BuildercreationTime(Instant creationTime)The time the experiment template was created.ExperimentTemplate.Builderdescription(String description)The description for the experiment template.default ExperimentTemplate.BuilderexperimentOptions(Consumer<ExperimentTemplateExperimentOptions.Builder> experimentOptions)The experiment options for an experiment template.ExperimentTemplate.BuilderexperimentOptions(ExperimentTemplateExperimentOptions experimentOptions)The experiment options for an experiment template.ExperimentTemplate.Builderid(String id)The ID of the experiment template.ExperimentTemplate.BuilderlastUpdateTime(Instant lastUpdateTime)The time the experiment template was last updated.default ExperimentTemplate.BuilderlogConfiguration(Consumer<ExperimentTemplateLogConfiguration.Builder> logConfiguration)The configuration for experiment logging.ExperimentTemplate.BuilderlogConfiguration(ExperimentTemplateLogConfiguration logConfiguration)The configuration for experiment logging.ExperimentTemplate.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of an IAM role.ExperimentTemplate.BuilderstopConditions(Collection<ExperimentTemplateStopCondition> stopConditions)The stop conditions for the experiment.ExperimentTemplate.BuilderstopConditions(Consumer<ExperimentTemplateStopCondition.Builder>... stopConditions)The stop conditions for the experiment.ExperimentTemplate.BuilderstopConditions(ExperimentTemplateStopCondition... stopConditions)The stop conditions for the experiment.ExperimentTemplate.Buildertags(Map<String,String> tags)The tags for the experiment template.ExperimentTemplate.BuildertargetAccountConfigurationsCount(Long targetAccountConfigurationsCount)The count of target account configurations for the experiment template.ExperimentTemplate.Buildertargets(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 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.
-
arn
ExperimentTemplate.Builder arn(String 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
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)
-
experimentOptions
ExperimentTemplate.Builder experimentOptions(ExperimentTemplateExperimentOptions 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.Builderavoiding the need to create one manually viaExperimentTemplateExperimentOptions.builder().When the
Consumercompletes,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:
experimentOptions(ExperimentTemplateExperimentOptions)
-
targetAccountConfigurationsCount
ExperimentTemplate.Builder targetAccountConfigurationsCount(Long 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.
-
-