Interface DescribeInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInstancesResponse.Builder,
,DescribeInstancesResponse> GameLiftResponse.Builder
,SdkBuilder<DescribeInstancesResponse.Builder,
,DescribeInstancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeInstancesResponse
public static interface DescribeInstancesResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstancesResponse.Builder,DescribeInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstances
(Collection<Instance> instances) A collection of objects containing properties for each instance returned.instances
(Consumer<Instance.Builder>... instances) A collection of objects containing properties for each instance returned.A collection of objects containing properties for each instance returned.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
-
instances
A collection of objects containing properties for each instance returned.
- Parameters:
instances
- A collection of objects containing properties for each instance returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
A collection of objects containing properties for each instance returned.
- Parameters:
instances
- A collection of objects containing properties for each instance returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
A collection of objects containing properties for each instance returned.
This is a convenience method that creates an instance of theInstance.Builder
avoiding the need to create one manually viaInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstances(List<Instance>)
.- Parameters:
instances
- a consumer that will call methods onInstance.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.
-