Interface ListComputeRequest.Builder

    • Method Detail

      • fleetId

        ListComputeRequest.Builder fleetId​(String fleetId)

        A unique identifier for the fleet to retrieve compute resources for.

        Parameters:
        fleetId - A unique identifier for the fleet to retrieve compute resources for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • location

        ListComputeRequest.Builder location​(String location)

        The name of a location to retrieve compute resources for. For an Amazon GameLift Anywhere fleet, use a custom location. For a multi-location EC2 or container fleet, provide a Amazon Web Services Region or Local Zone code (for example: us-west-2 or us-west-2-lax-1).

        Parameters:
        location - The name of a location to retrieve compute resources for. For an Amazon GameLift Anywhere fleet, use a custom location. For a multi-location EC2 or container fleet, provide a Amazon Web Services Region or Local Zone code (for example: us-west-2 or us-west-2-lax-1).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • limit

        ListComputeRequest.Builder limit​(Integer 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

        ListComputeRequest.Builder nextToken​(String 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.