Interface DescribeInstancesRequest.Builder

    • Method Detail

      • fleetId

        DescribeInstancesRequest.Builder fleetId​(String fleetId)

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

        Parameters:
        fleetId - A unique identifier for the fleet to retrieve instance information 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.
      • instanceId

        DescribeInstancesRequest.Builder instanceId​(String instanceId)

        A unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet.

        Parameters:
        instanceId - A unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • limit

        DescribeInstancesRequest.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

        DescribeInstancesRequest.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.
      • location

        DescribeInstancesRequest.Builder location​(String location)

        The name of a location to retrieve instance information for, in the form of an Amazon Web Services Region code such as us-west-2.

        Parameters:
        location - The name of a location to retrieve instance information for, in the form of an Amazon Web Services Region code such as us-west-2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.