Class DescribePrefixListsRequest

    • Constructor Detail

      • DescribePrefixListsRequest

        public DescribePrefixListsRequest()
    • Method Detail

      • getPrefixListIds

        public List<String> getPrefixListIds()

        One or more prefix list IDs.

        Returns:
        One or more prefix list IDs.
      • setPrefixListIds

        public void setPrefixListIds​(Collection<String> prefixListIds)

        One or more prefix list IDs.

        Parameters:
        prefixListIds - One or more prefix list IDs.
      • withPrefixListIds

        public DescribePrefixListsRequest withPrefixListIds​(Collection<String> prefixListIds)

        One or more prefix list IDs.

        Parameters:
        prefixListIds - One or more prefix list IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getFilters

        public List<Filter> getFilters()

        One or more filters.

        • prefix-list-id: The ID of a prefix list.

        • prefix-list-name: The name of a prefix list.

        Returns:
        One or more filters.

        • prefix-list-id: The ID of a prefix list.

        • prefix-list-name: The name of a prefix list.

      • setFilters

        public void setFilters​(Collection<Filter> filters)

        One or more filters.

        • prefix-list-id: The ID of a prefix list.

        • prefix-list-name: The name of a prefix list.

        Parameters:
        filters - One or more filters.

        • prefix-list-id: The ID of a prefix list.

        • prefix-list-name: The name of a prefix list.

      • withFilters

        public DescribePrefixListsRequest withFilters​(Filter... filters)

        One or more filters.

        • prefix-list-id: The ID of a prefix list.

        • prefix-list-name: The name of a prefix list.

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

        Parameters:
        filters - One or more filters.

        • prefix-list-id: The ID of a prefix list.

        • prefix-list-name: The name of a prefix list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFilters

        public DescribePrefixListsRequest withFilters​(Collection<Filter> filters)

        One or more filters.

        • prefix-list-id: The ID of a prefix list.

        • prefix-list-name: The name of a prefix list.

        Parameters:
        filters - One or more filters.

        • prefix-list-id: The ID of a prefix list.

        • prefix-list-name: The name of a prefix list.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxResults

        public void setMaxResults​(Integer maxResults)

        The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

        Constraint: If the value specified is greater than 1000, we return only 1000 items.

        Parameters:
        maxResults - The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

        Constraint: If the value specified is greater than 1000, we return only 1000 items.

      • getMaxResults

        public Integer getMaxResults()

        The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

        Constraint: If the value specified is greater than 1000, we return only 1000 items.

        Returns:
        The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

        Constraint: If the value specified is greater than 1000, we return only 1000 items.

      • withMaxResults

        public DescribePrefixListsRequest withMaxResults​(Integer maxResults)

        The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

        Constraint: If the value specified is greater than 1000, we return only 1000 items.

        Parameters:
        maxResults - The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

        Constraint: If the value specified is greater than 1000, we return only 1000 items.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        The token for the next set of items to return. (You received this token from a prior call.)

        Parameters:
        nextToken - The token for the next set of items to return. (You received this token from a prior call.)
      • getNextToken

        public String getNextToken()

        The token for the next set of items to return. (You received this token from a prior call.)

        Returns:
        The token for the next set of items to return. (You received this token from a prior call.)
      • withNextToken

        public DescribePrefixListsRequest withNextToken​(String nextToken)

        The token for the next set of items to return. (You received this token from a prior call.)

        Parameters:
        nextToken - The token for the next set of items to return. (You received this token from a prior call.)
        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