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 DescribeReservedInstancesListingsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)Request<DescribeReservedInstancesListingsRequest>getDryRunRequest()This method is intended for internal use only.List<Filter>getFilters()One or more filters.StringgetReservedInstancesId()One or more Reserved Instance IDs.StringgetReservedInstancesListingId()One or more Reserved Instance listing IDs.inthashCode()voidsetFilters(Collection<Filter> filters)One or more filters.voidsetReservedInstancesId(String reservedInstancesId)One or more Reserved Instance IDs.voidsetReservedInstancesListingId(String reservedInstancesListingId)One or more Reserved Instance listing IDs.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeReservedInstancesListingsRequestwithFilters(Filter... filters)One or more filters.DescribeReservedInstancesListingsRequestwithFilters(Collection<Filter> filters)One or more filters.DescribeReservedInstancesListingsRequestwithReservedInstancesId(String reservedInstancesId)One or more Reserved Instance IDs.DescribeReservedInstancesListingsRequestwithReservedInstancesListingId(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:
getDryRunRequestin interfaceDryRunSupportedRequest<DescribeReservedInstancesListingsRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedInstancesListingsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-