Interface ExperimentDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExperimentDetails.Builder,,ExperimentDetails> SdkBuilder<ExperimentDetails.Builder,,ExperimentDetails> SdkPojo
- Enclosing class:
ExperimentDetails
-
Method Summary
Modifier and TypeMethodDescriptionbaselineRunId(String baselineRunId) The ID of the run chosen as the experiment's baseline with UpdateExperiment.The time when the experiment was created.description(String description) The description of the experiment.experimentArn(String experimentArn) The ARN of the experiment.default ExperimentDetails.BuilderexperimentConfig(Consumer<ExperimentConfig.Builder> experimentConfig) The configuration for the experiment's type.experimentConfig(ExperimentConfig experimentConfig) The configuration for the experiment's type.experimentId(String experimentId) The ID of the experiment.experimentType(String experimentType) The type of the experiment.experimentType(ExperimentType experimentType) The type of the experiment.default ExperimentDetails.BuilderlatestRun(Consumer<ExperimentRunSummary.Builder> latestRun) The most recently started run, including its verdict when it has a rule.latestRun(ExperimentRunSummary latestRun) The most recently started run, including its verdict when it has a rule.The name of the experiment.The number of runs of the experiment, including live control runs.default ExperimentDetails.Buildertarget(Consumer<ExperimentTarget.Builder> target) What the experiment tests.target(ExperimentTarget target) What the experiment tests.targetRunCount(Integer targetRunCount) The number of runs of the experiment, excluding live control runs, which share the number of their target run.The time when the experiment was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
experimentId
The ID of the experiment.
- Parameters:
experimentId- The ID of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentArn
The ARN of the experiment.
- Parameters:
experimentArn- The ARN of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the experiment.
- Parameters:
name- The name of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the experiment.
- Parameters:
description- The description of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
What the experiment tests.
- Parameters:
target- What the experiment tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
What the experiment tests.
This is a convenience method that creates an instance of theExperimentTarget.Builderavoiding the need to create one manually viaExperimentTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(ExperimentTarget).- Parameters:
target- a consumer that will call methods onExperimentTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experimentType
The type of the experiment.
- Parameters:
experimentType- The type of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experimentType
The type of the experiment.
- Parameters:
experimentType- The type of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experimentConfig
The configuration for the experiment's type.
- Parameters:
experimentConfig- The configuration for the experiment's type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentConfig
default ExperimentDetails.Builder experimentConfig(Consumer<ExperimentConfig.Builder> experimentConfig) The configuration for the experiment's type.
This is a convenience method that creates an instance of theExperimentConfig.Builderavoiding the need to create one manually viaExperimentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexperimentConfig(ExperimentConfig).- Parameters:
experimentConfig- a consumer that will call methods onExperimentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runCount
The number of runs of the experiment, including live control runs.
- Parameters:
runCount- The number of runs of the experiment, including live control runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetRunCount
The number of runs of the experiment, excluding live control runs, which share the number of their target run.
- Parameters:
targetRunCount- The number of runs of the experiment, excluding live control runs, which share the number of their target run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRun
The most recently started run, including its verdict when it has a rule.
- Parameters:
latestRun- The most recently started run, including its verdict when it has a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRun
The most recently started run, including its verdict when it has a rule.
This is a convenience method that creates an instance of theExperimentRunSummary.Builderavoiding the need to create one manually viaExperimentRunSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolatestRun(ExperimentRunSummary).- Parameters:
latestRun- a consumer that will call methods onExperimentRunSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
baselineRunId
The ID of the run chosen as the experiment's baseline with UpdateExperiment. Always a COMPLETED target run, never a live control run. Absent when no baseline is set; deleting that run clears it.
- Parameters:
baselineRunId- The ID of the run chosen as the experiment's baseline with UpdateExperiment. Always a COMPLETED target run, never a live control run. Absent when no baseline is set; deleting that run clears it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time when the experiment was created.
- Parameters:
createdAt- The time when the experiment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the experiment was last updated.
- Parameters:
updatedAt- The time when the experiment was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-