public class DescribeReservedDBInstancesOfferingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeReservedDBInstancesOfferings operation
.
Lists available reserved DB instance offerings.
NOOP
Constructor and Description |
---|
DescribeReservedDBInstancesOfferingsRequest()
Default constructor for a new DescribeReservedDBInstancesOfferingsRequest object.
|
Modifier and Type | Method and Description |
---|---|
DescribeReservedDBInstancesOfferingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDBInstanceClass()
The DB instance class filter value.
|
String |
getDuration()
Duration filter value, specified in years or seconds.
|
List<Filter> |
getFilters()
This parameter is not currently supported.
|
String |
getMarker()
An optional pagination token provided by a previous request.
|
Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
Boolean |
getMultiAZ()
The Multi-AZ filter value.
|
String |
getOfferingType()
The offering type filter value.
|
String |
getProductDescription()
Product description filter value.
|
String |
getReservedDBInstancesOfferingId()
The offering identifier filter value.
|
int |
hashCode() |
Boolean |
isMultiAZ()
The Multi-AZ filter value.
|
void |
setDBInstanceClass(String dBInstanceClass)
The DB instance class filter value.
|
void |
setDuration(String duration)
Duration filter value, specified in years or seconds.
|
void |
setFilters(Collection<Filter> filters)
This parameter is not currently supported.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
void |
setMultiAZ(Boolean multiAZ)
The Multi-AZ filter value.
|
void |
setOfferingType(String offeringType)
The offering type filter value.
|
void |
setProductDescription(String productDescription)
Product description filter value.
|
void |
setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedDBInstancesOfferingsRequest |
withDBInstanceClass(String dBInstanceClass)
The DB instance class filter value.
|
DescribeReservedDBInstancesOfferingsRequest |
withDuration(String duration)
Duration filter value, specified in years or seconds.
|
DescribeReservedDBInstancesOfferingsRequest |
withFilters(Collection<Filter> filters)
This parameter is not currently supported.
|
DescribeReservedDBInstancesOfferingsRequest |
withFilters(Filter... filters)
This parameter is not currently supported.
|
DescribeReservedDBInstancesOfferingsRequest |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
DescribeReservedDBInstancesOfferingsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeReservedDBInstancesOfferingsRequest |
withMultiAZ(Boolean multiAZ)
The Multi-AZ filter value.
|
DescribeReservedDBInstancesOfferingsRequest |
withOfferingType(String offeringType)
The offering type filter value.
|
DescribeReservedDBInstancesOfferingsRequest |
withProductDescription(String productDescription)
Product description filter value.
|
DescribeReservedDBInstancesOfferingsRequest |
withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeReservedDBInstancesOfferingsRequest()
public String getReservedDBInstancesOfferingId()
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
reservedDBInstancesOfferingId
- The offering identifier filter value. Specify this parameter to show
only the available offering that matches the specified reservation
identifier. Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
public DescribeReservedDBInstancesOfferingsRequest withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
Returns a reference to this object so that method calls can be chained together.
reservedDBInstancesOfferingId
- The offering identifier filter value. Specify this parameter to show
only the available offering that matches the specified reservation
identifier. Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706
public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass
- The DB instance class filter value. Specify this parameter to show
only the available offerings matching the specified DB instance class.public DescribeReservedDBInstancesOfferingsRequest withDBInstanceClass(String dBInstanceClass)
Returns a reference to this object so that method calls can be chained together.
dBInstanceClass
- The DB instance class filter value. Specify this parameter to show
only the available offerings matching the specified DB instance class.public String getDuration()
Valid
Values: 1 | 3 | 31536000 | 94608000
Valid
Values: 1 | 3 | 31536000 | 94608000
public void setDuration(String duration)
Valid
Values: 1 | 3 | 31536000 | 94608000
duration
- Duration filter value, specified in years or seconds. Specify this
parameter to show only reservations for this duration. Valid
Values: 1 | 3 | 31536000 | 94608000
public DescribeReservedDBInstancesOfferingsRequest withDuration(String duration)
Valid
Values: 1 | 3 | 31536000 | 94608000
Returns a reference to this object so that method calls can be chained together.
duration
- Duration filter value, specified in years or seconds. Specify this
parameter to show only reservations for this duration. Valid
Values: 1 | 3 | 31536000 | 94608000
public String getProductDescription()
public void setProductDescription(String productDescription)
productDescription
- Product description filter value. Specify this parameter to show only
the available offerings matching the specified product description.public DescribeReservedDBInstancesOfferingsRequest withProductDescription(String productDescription)
Returns a reference to this object so that method calls can be chained together.
productDescription
- Product description filter value. Specify this parameter to show only
the available offerings matching the specified product description.public String getOfferingType()
Valid
Values: "Partial Upfront" | "All Upfront" | "No Upfront"
Valid
Values: "Partial Upfront" | "All Upfront" | "No Upfront"
public void setOfferingType(String offeringType)
Valid
Values: "Partial Upfront" | "All Upfront" | "No Upfront"
offeringType
- The offering type filter value. Specify this parameter to show only
the available offerings matching the specified offering type. Valid
Values: "Partial Upfront" | "All Upfront" | "No Upfront"
public DescribeReservedDBInstancesOfferingsRequest withOfferingType(String offeringType)
Valid
Values: "Partial Upfront" | "All Upfront" | "No Upfront"
Returns a reference to this object so that method calls can be chained together.
offeringType
- The offering type filter value. Specify this parameter to show only
the available offerings matching the specified offering type. Valid
Values: "Partial Upfront" | "All Upfront" | "No Upfront"
public Boolean isMultiAZ()
public void setMultiAZ(Boolean multiAZ)
multiAZ
- The Multi-AZ filter value. Specify this parameter to show only the
available offerings matching the specified Multi-AZ parameter.public DescribeReservedDBInstancesOfferingsRequest withMultiAZ(Boolean multiAZ)
Returns a reference to this object so that method calls can be chained together.
multiAZ
- The Multi-AZ filter value. Specify this parameter to show only the
available offerings matching the specified Multi-AZ parameter.public Boolean getMultiAZ()
public List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- This parameter is not currently supported.public DescribeReservedDBInstancesOfferingsRequest withFilters(Filter... filters)
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.
Returns a reference to this object so that method calls can be chained together.
filters
- This parameter is not currently supported.public DescribeReservedDBInstancesOfferingsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- This parameter is not currently supported.public Integer getMaxRecords()
MaxRecords
value is available, a pagination token
called a marker is included in the response so that the following
results can be retrieved. Default: 100
Constraints: Minimum 20, maximum 100.
MaxRecords
value is available, a pagination token
called a marker is included in the response so that the following
results can be retrieved. Default: 100
Constraints: Minimum 20, maximum 100.
public void setMaxRecords(Integer maxRecords)
MaxRecords
value is available, a pagination token
called a marker is included in the response so that the following
results can be retrieved. Default: 100
Constraints: Minimum 20, maximum 100.
maxRecords
- The maximum number of records to include in the response. If more than
the MaxRecords
value is available, a pagination token
called a marker is included in the response so that the following
results can be retrieved. Default: 100
Constraints: Minimum 20, maximum 100.
public DescribeReservedDBInstancesOfferingsRequest withMaxRecords(Integer maxRecords)
MaxRecords
value is available, a pagination token
called a marker is included in the response so that the following
results can be retrieved. Default: 100
Constraints: Minimum 20, maximum 100.
Returns a reference to this object so that method calls can be chained together.
maxRecords
- The maximum number of records to include in the response. If more than
the MaxRecords
value is available, a pagination token
called a marker is included in the response so that the following
results can be retrieved. Default: 100
Constraints: Minimum 20, maximum 100.
public String getMarker()
MaxRecords
.MaxRecords
.public void setMarker(String marker)
MaxRecords
.marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.public DescribeReservedDBInstancesOfferingsRequest withMarker(String marker)
MaxRecords
.
Returns a reference to this object so that method calls can be chained together.
marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.public String toString()
toString
in class Object
Object.toString()
public DescribeReservedDBInstancesOfferingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.