Interface UpdateExperimentRequest.Builder

  • Method Details

    • experimentId

      UpdateExperimentRequest.Builder experimentId(String 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

      UpdateExperimentRequest.Builder description(String 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

      UpdateExperimentRequest.Builder experimentConfig(ExperimentConfig 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 the ExperimentConfig.Builder avoiding the need to create one manually via ExperimentConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to experimentConfig(ExperimentConfig).

      Parameters:
      experimentConfig - a consumer that will call methods on ExperimentConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • baselineRunId

      UpdateExperimentRequest.Builder baselineRunId(String 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.