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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedInstancesListingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeReservedInstancesListingsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Request<DescribeReservedInstancesListingsRequest>
getDryRunRequest()
This method is intended for internal use only.List<Filter>
getFilters()
One or more filters.String
getReservedInstancesId()
One or more Reserved Instance IDs.String
getReservedInstancesListingId()
One or more Reserved Instance listing IDs.int
hashCode()
void
setFilters(Collection<Filter> filters)
One or more filters.void
setReservedInstancesId(String reservedInstancesId)
One or more Reserved Instance IDs.void
setReservedInstancesListingId(String reservedInstancesListingId)
One or more Reserved Instance listing IDs.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeReservedInstancesListingsRequest
withFilters(Filter... filters)
One or more filters.DescribeReservedInstancesListingsRequest
withFilters(Collection<Filter> filters)
One or more filters.DescribeReservedInstancesListingsRequest
withReservedInstancesId(String reservedInstancesId)
One or more Reserved Instance IDs.DescribeReservedInstancesListingsRequest
withReservedInstancesListingId(String reservedInstancesListingId)
One or more Reserved Instance listing IDs.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
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)
orwithFilters(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.
-
-
getDryRunRequest
public Request<DescribeReservedInstancesListingsRequest> 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 interfaceDryRunSupportedRequest<DescribeReservedInstancesListingsRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedInstancesListingsRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-