Interface CreateExperimentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateExperimentResponse.Builder,,CreateExperimentResponse> EvidentlyResponse.Builder,SdkBuilder<CreateExperimentResponse.Builder,,CreateExperimentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateExperimentResponse
@Mutable
@NotThreadSafe
public static interface CreateExperimentResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<CreateExperimentResponse.Builder,CreateExperimentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateExperimentResponse.Builderexperiment(Consumer<Experiment.Builder> experiment) A structure containing the configuration details of the experiment that you created.experiment(Experiment experiment) A structure containing the configuration details of the experiment that you created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
experiment
A structure containing the configuration details of the experiment that you created.
- Parameters:
experiment- A structure containing the configuration details of the experiment that you created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experiment
A structure containing the configuration details of the experiment that you created.
This is a convenience method that creates an instance of theExperiment.Builderavoiding the need to create one manually viaExperiment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexperiment(Experiment).- Parameters:
experiment- a consumer that will call methods onExperiment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-