Interface DescribeGameServerInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGameServerInstancesResponse.Builder,DescribeGameServerInstancesResponse>,GameLiftResponse.Builder,SdkBuilder<DescribeGameServerInstancesResponse.Builder,DescribeGameServerInstancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeGameServerInstancesResponse
public static interface DescribeGameServerInstancesResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeGameServerInstancesResponse.Builder,DescribeGameServerInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeGameServerInstancesResponse.BuildergameServerInstances(Collection<GameServerInstance> gameServerInstances)The collection of requested game server instances.DescribeGameServerInstancesResponse.BuildergameServerInstances(Consumer<GameServerInstance.Builder>... gameServerInstances)The collection of requested game server instances.DescribeGameServerInstancesResponse.BuildergameServerInstances(GameServerInstance... gameServerInstances)The collection of requested game server instances.DescribeGameServerInstancesResponse.BuildernextToken(String nextToken)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 Detail
-
gameServerInstances
DescribeGameServerInstancesResponse.Builder gameServerInstances(Collection<GameServerInstance> gameServerInstances)
The collection of requested game server instances.
- Parameters:
gameServerInstances- The collection of requested game server instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerInstances
DescribeGameServerInstancesResponse.Builder gameServerInstances(GameServerInstance... gameServerInstances)
The collection of requested game server instances.
- Parameters:
gameServerInstances- The collection of requested game server instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerInstances
DescribeGameServerInstancesResponse.Builder gameServerInstances(Consumer<GameServerInstance.Builder>... gameServerInstances)
The collection of requested game server instances.
This is a convenience method that creates an instance of theGameServerInstance.Builderavoiding the need to create one manually viaGameServerInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#gameServerInstances(List.) - Parameters:
gameServerInstances- a consumer that will call methods onGameServerInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#gameServerInstances(java.util.Collection)
-
nextToken
DescribeGameServerInstancesResponse.Builder nextToken(String 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.
-
-