Interface ListSamplesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSamplesResponse.Builder,
,ListSamplesResponse> DeviceFarmResponse.Builder
,SdkBuilder<ListSamplesResponse.Builder,
,ListSamplesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSamplesResponse
public static interface ListSamplesResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListSamplesResponse.Builder,ListSamplesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the number of items that are returned is significantly large, this is an identifier that is also returned.samples
(Collection<Sample> samples) Information about the samples.samples
(Consumer<Sample.Builder>... samples) Information about the samples.Information about the samples.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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
-
samples
Information about the samples.
- Parameters:
samples
- Information about the samples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samples
Information about the samples.
- Parameters:
samples
- Information about the samples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samples
Information about the samples.
This is a convenience method that creates an instance of theSample.Builder
avoiding the need to create one manually viaSample.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosamples(List<Sample>)
.- Parameters:
samples
- a consumer that will call methods onSample.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-