Interface ExperimentConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExperimentConfig.Builder,,ExperimentConfig> SdkBuilder<ExperimentConfig.Builder,,ExperimentConfig> SdkPojo
- Enclosing class:
ExperimentConfig
@Mutable
@NotThreadSafe
public static interface ExperimentConfig.Builder
extends SdkPojo, CopyableBuilder<ExperimentConfig.Builder,ExperimentConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExperimentConfig.Builderdataset(Consumer<DatasetExperimentConfig.Builder> dataset) The configuration of a DATASET experiment.dataset(DatasetExperimentConfig dataset) The configuration of a DATASET experiment.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
-
dataset
The configuration of a DATASET experiment.
- Parameters:
dataset- The configuration of a DATASET experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataset
The configuration of a DATASET experiment.
This is a convenience method that creates an instance of theDatasetExperimentConfig.Builderavoiding the need to create one manually viaDatasetExperimentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataset(DatasetExperimentConfig).- Parameters:
dataset- a consumer that will call methods onDatasetExperimentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-