Interface GetExperimentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetExperimentResponse.Builder,
,GetExperimentResponse> FisResponse.Builder
,SdkBuilder<GetExperimentResponse.Builder,
,GetExperimentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetExperimentResponse
public static interface GetExperimentResponse.Builder
extends FisResponse.Builder, SdkPojo, CopyableBuilder<GetExperimentResponse.Builder,GetExperimentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetExperimentResponse.Builder
experiment
(Consumer<Experiment.Builder> experiment) Information about the experiment.experiment
(Experiment experiment) Information about the experiment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fis.model.FisResponse.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
Information about the experiment.
- Parameters:
experiment
- Information about the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experiment
Information about the experiment.
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:
-