public class DescribeReservedInstancesListingsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeReservedInstancesListingsRequest>
Contains the parameters for DescribeReservedInstancesListings.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Filter> |
filters
One or more filters.
|
private java.lang.String |
reservedInstancesId
One or more Reserved Instance IDs.
|
private java.lang.String |
reservedInstancesListingId
One or more Reserved Instance listing IDs.
|
NOOP
Constructor and Description |
---|
DescribeReservedInstancesListingsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedInstancesListingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DescribeReservedInstancesListingsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String reservedInstancesId
One or more Reserved Instance IDs.
private java.lang.String reservedInstancesListingId
One or more Reserved Instance listing IDs.
private SdkInternalList<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.
public DescribeReservedInstancesListingsRequest()
public void setReservedInstancesId(java.lang.String reservedInstancesId)
One or more Reserved Instance IDs.
reservedInstancesId
- One or more Reserved Instance IDs.public java.lang.String getReservedInstancesId()
One or more Reserved Instance IDs.
public DescribeReservedInstancesListingsRequest withReservedInstancesId(java.lang.String reservedInstancesId)
One or more Reserved Instance IDs.
reservedInstancesId
- One or more Reserved Instance IDs.public void setReservedInstancesListingId(java.lang.String reservedInstancesListingId)
One or more Reserved Instance listing IDs.
reservedInstancesListingId
- One or more Reserved Instance listing IDs.public java.lang.String getReservedInstancesListingId()
One or more Reserved Instance listing IDs.
public DescribeReservedInstancesListingsRequest withReservedInstancesListingId(java.lang.String reservedInstancesListingId)
One or more Reserved Instance listing IDs.
reservedInstancesListingId
- One or more Reserved Instance listing IDs.public java.util.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.
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)
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.
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)
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.
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)
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.
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 Request<DescribeReservedInstancesListingsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeReservedInstancesListingsRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeReservedInstancesListingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()