Class DescribeReservedInstancesListingsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeReservedInstancesListingsRequest
All Implemented Interfaces:
ReadLimitInfo, DryRunSupportedRequest<DescribeReservedInstancesListingsRequest>, Serializable, Cloneable

public class DescribeReservedInstancesListingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeReservedInstancesListingsRequest>

Contains the parameters for DescribeReservedInstancesListings.

See Also:
  • Constructor Details

    • DescribeReservedInstancesListingsRequest

      public DescribeReservedInstancesListingsRequest()
  • Method Details

    • 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

      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.
    • getDryRunRequest

      This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.
      Specified by:
      getDryRunRequest in interface DryRunSupportedRequest<DescribeReservedInstancesListingsRequest>
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: