Interface ListGameServersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListGameServersRequest.Builder,,ListGameServersRequest> GameLiftRequest.Builder,SdkBuilder<ListGameServersRequest.Builder,,ListGameServersRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListGameServersRequest
-
Method Summary
Modifier and TypeMethodDescriptiongameServerGroupName(String gameServerGroupName) An identifier for the game server group to retrieve a list of game servers from.The maximum number of results to return.A token that indicates the start of the next sequential page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Indicates how to sort the returned data based on game server registration timestamp.Indicates how to sort the returned data based on game server registration timestamp.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
gameServerGroupName
An identifier for the game server group to retrieve a list of game servers from. Use either the name or ARN value.
- Parameters:
gameServerGroupName- An identifier for the game server group to retrieve a list of game servers from. Use either the name or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortOrder
Indicates how to sort the returned data based on game server registration timestamp. Use
ASCENDINGto retrieve oldest game servers first, or useDESCENDINGto retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.- Parameters:
sortOrder- Indicates how to sort the returned data based on game server registration timestamp. UseASCENDINGto retrieve oldest game servers first, or useDESCENDINGto retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Indicates how to sort the returned data based on game server registration timestamp. Use
ASCENDINGto retrieve oldest game servers first, or useDESCENDINGto retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.- Parameters:
sortOrder- Indicates how to sort the returned data based on game server registration timestamp. UseASCENDINGto retrieve oldest game servers first, or useDESCENDINGto retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limit
The maximum number of results to return. Use this parameter with
NextTokento get results as a set of sequential pages.- Parameters:
limit- The maximum number of results to return. Use this parameter withNextTokento get results as a set of sequential pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
- Parameters:
nextToken- A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListGameServersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListGameServersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-