Class DescribeReservedInstancesListingsRequest

    • Constructor Detail

      • DescribeReservedInstancesListingsRequest

        public DescribeReservedInstancesListingsRequest()
    • Method Detail

      • setReservedInstancesId

        public void setReservedInstancesId​(String reservedInstancesId)

        One or more Reserved Instance IDs.

        Parameters:
        reservedInstancesId - One or more Reserved Instance IDs.
      • getReservedInstancesId

        public String getReservedInstancesId()

        One or more Reserved Instance IDs.

        Returns:
        One or more Reserved Instance IDs.
      • withReservedInstancesId

        public DescribeReservedInstancesListingsRequest withReservedInstancesId​(String reservedInstancesId)

        One or more Reserved Instance IDs.

        Parameters:
        reservedInstancesId - One or more Reserved Instance IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReservedInstancesListingId

        public void setReservedInstancesListingId​(String reservedInstancesListingId)

        One or more Reserved Instance listing IDs.

        Parameters:
        reservedInstancesListingId - One or more Reserved Instance listing IDs.
      • getReservedInstancesListingId

        public String getReservedInstancesListingId()

        One or more Reserved Instance listing IDs.

        Returns:
        One or more Reserved Instance listing IDs.
      • withReservedInstancesListingId

        public DescribeReservedInstancesListingsRequest withReservedInstancesListingId​(String reservedInstancesListingId)

        One or more Reserved Instance listing IDs.

        Parameters:
        reservedInstancesListingId - One or more Reserved Instance listing 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.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing ( pending | active | cancelled | closed).

        • status-message - The reason for the status.

        Returns:
        One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

      • setFilters

        public void setFilters​(Collection<Filter> filters)

        One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing ( pending | active | cancelled | closed).

        • status-message - The reason for the status.

        Parameters:
        filters - One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

      • withFilters

        public DescribeReservedInstancesListingsRequest withFilters​(Filter... filters)

        One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing ( pending | active | cancelled | closed).

        • status-message - The reason for the status.

        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.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

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

        public DescribeReservedInstancesListingsRequest withFilters​(Collection<Filter> filters)

        One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing ( pending | active | cancelled | closed).

        • status-message - The reason for the status.

        Parameters:
        filters - One or more filters.

        • reserved-instances-id - The ID of the Reserved Instances.

        • reserved-instances-listing-id - The ID of the Reserved Instances listing.

        • status - The status of the Reserved Instance listing (pending | active | cancelled | closed).

        • status-message - The reason for the status.

        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