Interface CreateExperimentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateExperimentResponse.Builder,
,CreateExperimentResponse> EvidentlyResponse.Builder
,SdkBuilder<CreateExperimentResponse.Builder,
,CreateExperimentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateExperimentResponse
public static interface CreateExperimentResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<CreateExperimentResponse.Builder,CreateExperimentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateExperimentResponse.Builder
experiment
(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
copy
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaExperiment.builder()
.When the
Consumer
completes,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:
-