public class DescribeReservedInstancesListingsRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeReservedInstancesListings operation
.
Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.
The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.
As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase.
As a buyer, you specify the configuration of the Reserved Instance to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase.
For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide .
Constructor and Description |
---|
DescribeReservedInstancesListingsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilters()
One or more filters.
|
java.lang.String |
getReservedInstancesId()
One or more Reserved Instance IDs.
|
java.lang.String |
getReservedInstancesListingId()
One or more Reserved Instance listing IDs.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setReservedInstancesId(java.lang.String reservedInstancesId)
One or more Reserved Instance IDs.
|
void |
setReservedInstancesListingId(java.lang.String reservedInstancesListingId)
One or more Reserved Instance listing IDs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedInstancesListingsRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribeReservedInstancesListingsRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeReservedInstancesListingsRequest |
withReservedInstancesId(java.lang.String reservedInstancesId)
One or more Reserved Instance IDs.
|
DescribeReservedInstancesListingsRequest |
withReservedInstancesListingId(java.lang.String reservedInstancesListingId)
One or more Reserved Instance listing IDs.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeReservedInstancesListingsRequest()
public java.lang.String getReservedInstancesId()
public void setReservedInstancesId(java.lang.String reservedInstancesId)
reservedInstancesId
- One or more Reserved Instance IDs.public DescribeReservedInstancesListingsRequest withReservedInstancesId(java.lang.String reservedInstancesId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesId
- One or more Reserved Instance IDs.public java.lang.String getReservedInstancesListingId()
public void setReservedInstancesListingId(java.lang.String reservedInstancesListingId)
reservedInstancesListingId
- One or more Reserved Instance listing IDs.public DescribeReservedInstancesListingsRequest withReservedInstancesListingId(java.lang.String reservedInstancesListingId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesListingId
- One or more Reserved Instance listing IDs.public java.util.List<Filter> getFilters()
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.
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.
public void setFilters(java.util.Collection<Filter> 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.
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.
public DescribeReservedInstancesListingsRequest withFilters(Filter... 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 a reference to this object so that method calls can be chained together.
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.
public DescribeReservedInstancesListingsRequest withFilters(java.util.Collection<Filter> 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 a reference to this object so that method calls can be chained together.
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.