Interface ListRunsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRunsResponse.Builder,ListRunsResponse>,DeviceFarmResponse.Builder,SdkBuilder<ListRunsResponse.Builder,ListRunsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRunsResponse
public static interface ListRunsResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListRunsResponse.Builder,ListRunsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRunsResponse.BuildernextToken(String nextToken)If the number of items that are returned is significantly large, this is an identifier that is also returned.ListRunsResponse.Builderruns(Collection<Run> runs)Information about the runs.ListRunsResponse.Builderruns(Consumer<Run.Builder>... runs)Information about the runs.ListRunsResponse.Builderruns(Run... runs)Information about the runs.-
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 Detail
-
runs
ListRunsResponse.Builder runs(Collection<Run> runs)
Information about the runs.
- Parameters:
runs- Information about the runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runs
ListRunsResponse.Builder runs(Run... runs)
Information about the runs.
- Parameters:
runs- Information about the runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runs
ListRunsResponse.Builder runs(Consumer<Run.Builder>... runs)
Information about the runs.
This is a convenience method that creates an instance of theRun.Builderavoiding the need to create one manually viaRun.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#runs(List.) - Parameters:
runs- a consumer that will call methods onRun.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#runs(java.util.Collection)
-
nextToken
ListRunsResponse.Builder nextToken(String 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.
-
-