Interface DescribeGameSessionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeGameSessionsRequest.Builder,DescribeGameSessionsRequest>, GameLiftRequest.Builder, SdkBuilder<DescribeGameSessionsRequest.Builder,DescribeGameSessionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribeGameSessionsRequest

public static interface DescribeGameSessionsRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<DescribeGameSessionsRequest.Builder,DescribeGameSessionsRequest>
  • Method Details

    • fleetId

      A unique identifier for the fleet to retrieve game sessions for. You can use either the fleet ID or ARN value.

      Parameters:
      fleetId - A unique identifier for the fleet to retrieve game sessions for. You can use either the fleet ID or ARN value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gameSessionId

      DescribeGameSessionsRequest.Builder gameSessionId(String gameSessionId)

      A unique identifier for the game session to retrieve.

      Parameters:
      gameSessionId - A unique identifier for the game session to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aliasId

      A unique identifier for the alias associated with the fleet to retrieve game sessions for. You can use either the alias ID or ARN value.

      Parameters:
      aliasId - A unique identifier for the alias associated with the fleet to retrieve game sessions for. You can use either the alias ID or ARN value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      A fleet location to get game sessions for. You can specify a fleet's home Region or a remote location. Use the Amazon Web Services Region code format, such as us-west-2.

      Parameters:
      location - A fleet location to get game sessions for. You can specify a fleet's home Region or a remote location. Use the Amazon Web Services Region code format, such as us-west-2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusFilter

      DescribeGameSessionsRequest.Builder statusFilter(String statusFilter)

      Game session status to filter results on. You can filter on the following states: ACTIVE, TERMINATED, ACTIVATING, and TERMINATING. The last two are transitory and used for only very brief periods of time.

      Parameters:
      statusFilter - Game session status to filter results on. You can filter on the following states: ACTIVE, TERMINATED, ACTIVATING, and TERMINATING. The last two are transitory and used for only very brief periods of time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limit

      The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

      Parameters:
      limit - The maximum number of results to return. Use this parameter with NextToken to 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

      DescribeGameSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.