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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGameServerGroupsResponse.BuildergameServerGroups(Collection<GameServerGroup> gameServerGroups)The game server groups' game server groups.ListGameServerGroupsResponse.BuildergameServerGroups(Consumer<GameServerGroup.Builder>... gameServerGroups)The game server groups' game server groups.ListGameServerGroupsResponse.BuildergameServerGroups(GameServerGroup... gameServerGroups)The game server groups' game server groups.ListGameServerGroupsResponse.BuildernextToken(String nextToken)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 Detail
-
gameServerGroups
ListGameServerGroupsResponse.Builder gameServerGroups(Collection<GameServerGroup> 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(GameServerGroup... 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.Builderavoiding the need to create one manually viaGameServerGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#gameServerGroups(List.) - 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:
#gameServerGroups(java.util.Collection)
-
nextToken
ListGameServerGroupsResponse.Builder nextToken(String 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.
-
-