Class DescribeFleetCapacityRequest

    • Constructor Detail

      • DescribeFleetCapacityRequest

        public DescribeFleetCapacityRequest()
    • Method Detail

      • getFleetIds

        public List<String> getFleetIds()

        Unique identifier for the fleet(s) you want to retrieve capacity information for.

        Returns:
        Unique identifier for the fleet(s) you want to retrieve capacity information for.
      • setFleetIds

        public void setFleetIds​(Collection<String> fleetIds)

        Unique identifier for the fleet(s) you want to retrieve capacity information for.

        Parameters:
        fleetIds - Unique identifier for the fleet(s) you want to retrieve capacity information for.
      • withFleetIds

        public DescribeFleetCapacityRequest withFleetIds​(String... fleetIds)

        Unique identifier for the fleet(s) you want to retrieve capacity information for.

        NOTE: This method appends the values to the existing list (if any). Use setFleetIds(java.util.Collection) or withFleetIds(java.util.Collection) if you want to override the existing values.

        Parameters:
        fleetIds - Unique identifier for the fleet(s) you want to retrieve capacity information for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFleetIds

        public DescribeFleetCapacityRequest withFleetIds​(Collection<String> fleetIds)

        Unique identifier for the fleet(s) you want to retrieve capacity information for.

        Parameters:
        fleetIds - Unique identifier for the fleet(s) you want to retrieve capacity information for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLimit

        public void setLimit​(Integer limit)

        Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.

        Parameters:
        limit - Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.
      • getLimit

        public Integer getLimit()

        Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.

        Returns:
        Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.
      • withLimit

        public DescribeFleetCapacityRequest withLimit​(Integer limit)

        Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.

        Parameters:
        limit - Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages. This parameter is ignored when the request specifies one or a list of fleet IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.

        Parameters:
        nextToken - Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
      • getNextToken

        public String getNextToken()

        Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.

        Returns:
        Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
      • withNextToken

        public DescribeFleetCapacityRequest withNextToken​(String nextToken)

        Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.

        Parameters:
        nextToken - Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value. This parameter is ignored when the request specifies one or a list of fleet IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object