Interface UpdateExperimentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<UpdateExperimentRequest.Builder,,UpdateExperimentRequest> SdkBuilder<UpdateExperimentRequest.Builder,,UpdateExperimentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateExperimentRequest
-
Method Summary
Modifier and TypeMethodDescriptionbaselineRunId(String baselineRunId) The ID of the run to make the experiment's baseline.description(String description) A new description of the experiment.default UpdateExperimentRequest.BuilderexperimentConfig(Consumer<ExperimentConfig.Builder> experimentConfig) A new configuration for the experiment.experimentConfig(ExperimentConfig experimentConfig) A new configuration for the experiment.experimentId(String experimentId) The ID of the experiment to update.A new name for the experiment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.Builder
buildMethods 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 to update.
- Parameters:
experimentId- The ID of the experiment to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A new name for the experiment. Omit to leave unchanged.
- Parameters:
name- A new name for the experiment. Omit to leave unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description of the experiment. Omit to leave unchanged; an empty string clears it.
- Parameters:
description- A new description of the experiment. Omit to leave unchanged; an empty string clears it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentConfig
A new configuration for the experiment. Omit to leave unchanged. Replaces the configuration in full, and its member must match the experiment's type: a DATASET experiment takes only experimentConfig.dataset. The configuration is validated as in CreateExperiment: a new execution role requires iam:PassRole, the role must be assumable, and the results log group must exist and use the Standard log class. Applies to runs started after the update.
- Parameters:
experimentConfig- A new configuration for the experiment. Omit to leave unchanged. Replaces the configuration in full, and its member must match the experiment's type: a DATASET experiment takes only experimentConfig.dataset. The configuration is validated as in CreateExperiment: a new execution role requires iam:PassRole, the role must be assumable, and the results log group must exist and use the Standard log class. Applies to runs started after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentConfig
default UpdateExperimentRequest.Builder experimentConfig(Consumer<ExperimentConfig.Builder> experimentConfig) A new configuration for the experiment. Omit to leave unchanged. Replaces the configuration in full, and its member must match the experiment's type: a DATASET experiment takes only experimentConfig.dataset. The configuration is validated as in CreateExperiment: a new execution role requires iam:PassRole, the role must be assumable, and the results log group must exist and use the Standard log class. Applies to runs started after the update.
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:
-
baselineRunId
The ID of the run to make the experiment's baseline. Omit to leave unchanged; an empty string clears it. The run must be a COMPLETED target run of this experiment. A live control's run is rejected whether or not it has ended, but a run used as another run's historical control is a target run and is accepted. Otherwise fails with a ValidationException. Deleting the baseline run clears the baseline.
- Parameters:
baselineRunId- The ID of the run to make the experiment's baseline. Omit to leave unchanged; an empty string clears it. The run must be a COMPLETED target run of this experiment. A live control's run is rejected whether or not it has ended, but a run used as another run's historical control is a target run and is accepted. Otherwise fails with a ValidationException. Deleting the baseline run clears the baseline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateExperimentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateExperimentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-