Interface ListComputeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListComputeResponse.Builder,
,ListComputeResponse> GameLiftResponse.Builder
,SdkBuilder<ListComputeResponse.Builder,
,ListComputeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListComputeResponse
public static interface ListComputeResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListComputeResponse.Builder,ListComputeResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomputeList
(Collection<Compute> computeList) A list of compute resources in the specified fleet.computeList
(Consumer<Compute.Builder>... computeList) A list of compute resources in the specified fleet.computeList
(Compute... computeList) A list of compute resources in the specified fleet.A token that indicates where to resume retrieving results on the next call to this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.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
-
computeList
A list of compute resources in the specified fleet.
- Parameters:
computeList
- A list of compute resources in the specified fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeList
A list of compute resources in the specified fleet.
- Parameters:
computeList
- A list of compute resources in the specified fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeList
A list of compute resources in the specified fleet.
This is a convenience method that creates an instance of theCompute.Builder
avoiding the need to create one manually viaCompute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeList(List<Compute>)
.- Parameters:
computeList
- a consumer that will call methods onCompute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
- Parameters:
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-