Interface ListExperimentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListExperimentsResponse.Builder,
,ListExperimentsResponse> EvidentlyResponse.Builder
,SdkBuilder<ListExperimentsResponse.Builder,
,ListExperimentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListExperimentsResponse
public static interface ListExperimentsResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<ListExperimentsResponse.Builder,ListExperimentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionexperiments
(Collection<Experiment> experiments) An array of structures that contain the configuration details of the experiments in the specified project.experiments
(Consumer<Experiment.Builder>... experiments) An array of structures that contain the configuration details of the experiments in the specified project.experiments
(Experiment... experiments) An array of structures that contain the configuration details of the experiments in the specified project.The token to use in a subsequentListExperiments
operation to return the next set of results.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
-
experiments
An array of structures that contain the configuration details of the experiments in the specified project.
- Parameters:
experiments
- An array of structures that contain the configuration details of the experiments in the specified project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experiments
An array of structures that contain the configuration details of the experiments in the specified project.
- Parameters:
experiments
- An array of structures that contain the configuration details of the experiments in the specified project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experiments
An array of structures that contain the configuration details of the experiments in the specified project.
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 toexperiments(List<Experiment>)
.- Parameters:
experiments
- 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:
-
nextToken
The token to use in a subsequent
ListExperiments
operation to return the next set of results.- Parameters:
nextToken
- The token to use in a subsequentListExperiments
operation to return the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-