Interface ListExperimentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListExperimentsResponse.Builder,
,ListExperimentsResponse> FisResponse.Builder
,SdkBuilder<ListExperimentsResponse.Builder,
,ListExperimentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListExperimentsResponse
public static interface ListExperimentsResponse.Builder
extends FisResponse.Builder, SdkPojo, CopyableBuilder<ListExperimentsResponse.Builder,ListExperimentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionexperiments
(Collection<ExperimentSummary> experiments) The experiments.experiments
(Consumer<ExperimentSummary.Builder>... experiments) The experiments.experiments
(ExperimentSummary... experiments) The experiments.The token to use to retrieve the next page of results.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
-
experiments
The experiments.
- Parameters:
experiments
- The experiments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experiments
The experiments.
- Parameters:
experiments
- The experiments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experiments
The experiments.
This is a convenience method that creates an instance of theExperimentSummary.Builder
avoiding the need to create one manually viaExperimentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexperiments(List<ExperimentSummary>)
.- Parameters:
experiments
- a consumer that will call methods onExperimentSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-