Interface ListGameServerGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGameServerGroupsResponse.Builder,
,ListGameServerGroupsResponse> GameLiftResponse.Builder
,SdkBuilder<ListGameServerGroupsResponse.Builder,
,ListGameServerGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGameServerGroupsResponse
public static interface ListGameServerGroupsResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListGameServerGroupsResponse.Builder,ListGameServerGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameServerGroups
(Collection<GameServerGroup> gameServerGroups) The game server groups' game server groups.gameServerGroups
(Consumer<GameServerGroup.Builder>... gameServerGroups) The game server groups' game server groups.gameServerGroups
(GameServerGroup... gameServerGroups) The game server groups' game server groups.Specify the pagination token from a previous request to retrieve the next page of results.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
-
gameServerGroups
The game server groups' game server groups.
- Parameters:
gameServerGroups
- The game server groups' game server groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerGroups
The game server groups' game server groups.
- Parameters:
gameServerGroups
- The game server groups' game server groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerGroups
ListGameServerGroupsResponse.Builder gameServerGroups(Consumer<GameServerGroup.Builder>... gameServerGroups) The game server groups' game server groups.
This is a convenience method that creates an instance of theGameServerGroup.Builder
avoiding the need to create one manually viaGameServerGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togameServerGroups(List<GameServerGroup>)
.- Parameters:
gameServerGroups
- a consumer that will call methods onGameServerGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Specify the pagination token from a previous request to retrieve the next page of results.
- Parameters:
nextToken
- Specify the pagination token from a previous request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-