Interface UpdateExperimentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateExperimentResponse.Builder,
,UpdateExperimentResponse> EvidentlyResponse.Builder
,SdkBuilder<UpdateExperimentResponse.Builder,
,UpdateExperimentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateExperimentResponse
public static interface UpdateExperimentResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<UpdateExperimentResponse.Builder,UpdateExperimentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateExperimentResponse.Builder
experiment
(Consumer<Experiment.Builder> experiment) A structure containing the configuration details of the experiment that was updated.experiment
(Experiment experiment) A structure containing the configuration details of the experiment that was updated.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 was updated.
- Parameters:
experiment
- A structure containing the configuration details of the experiment that was updated.- 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 was updated.
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:
-