public class DescribeReservedDBInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeReservedDBInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedDBInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDBInstanceClass()
The DB instance class filter value.
|
String |
getDuration()
The 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()
The product description filter value.
|
String |
getReservedDBInstanceId()
The reserved DB instance identifier 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)
The 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)
The product description filter value.
|
void |
setReservedDBInstanceId(String reservedDBInstanceId)
The reserved DB instance identifier 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.
|
DescribeReservedDBInstancesRequest |
withDBInstanceClass(String dBInstanceClass)
The DB instance class filter value.
|
DescribeReservedDBInstancesRequest |
withDuration(String duration)
The duration filter value, specified in years or seconds.
|
DescribeReservedDBInstancesRequest |
withFilters(Collection<Filter> filters)
This parameter is not currently supported.
|
DescribeReservedDBInstancesRequest |
withFilters(Filter... filters)
This parameter is not currently supported.
|
DescribeReservedDBInstancesRequest |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
DescribeReservedDBInstancesRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeReservedDBInstancesRequest |
withMultiAZ(Boolean multiAZ)
The Multi-AZ filter value.
|
DescribeReservedDBInstancesRequest |
withOfferingType(String offeringType)
The offering type filter value.
|
DescribeReservedDBInstancesRequest |
withProductDescription(String productDescription)
The product description filter value.
|
DescribeReservedDBInstancesRequest |
withReservedDBInstanceId(String reservedDBInstanceId)
The reserved DB instance identifier filter value.
|
DescribeReservedDBInstancesRequest |
withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setReservedDBInstanceId(String reservedDBInstanceId)
The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
reservedDBInstanceId
- The reserved DB instance identifier filter value. Specify this
parameter to show only the reservation that matches the specified
reservation ID.public String getReservedDBInstanceId()
The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
public DescribeReservedDBInstancesRequest withReservedDBInstanceId(String reservedDBInstanceId)
The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
reservedDBInstanceId
- The reserved DB instance identifier filter value. Specify this
parameter to show only the reservation that matches the specified
reservation ID.public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
reservedDBInstancesOfferingId
- The offering identifier filter value. Specify this parameter to
show only purchased reservations matching the specified offering
identifier.public String getReservedDBInstancesOfferingId()
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
public DescribeReservedDBInstancesRequest withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
reservedDBInstancesOfferingId
- The offering identifier filter value. Specify this parameter to
show only purchased reservations matching the specified offering
identifier.public void setDBInstanceClass(String dBInstanceClass)
The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
dBInstanceClass
- The DB instance class filter value. Specify this parameter to show
only those reservations matching the specified DB instances class.public String getDBInstanceClass()
The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
public DescribeReservedDBInstancesRequest withDBInstanceClass(String dBInstanceClass)
The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
dBInstanceClass
- The DB instance class filter value. Specify this parameter to show
only those reservations matching the specified DB instances class.public void setDuration(String duration)
The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.
Valid Values: 1 | 3 | 31536000 | 94608000
duration
- The 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 getDuration()
The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.
Valid Values: 1 | 3 | 31536000 | 94608000
Valid Values: 1 | 3 | 31536000 | 94608000
public DescribeReservedDBInstancesRequest withDuration(String duration)
The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.
Valid Values: 1 | 3 | 31536000 | 94608000
duration
- The 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 void setProductDescription(String productDescription)
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
productDescription
- The product description filter value. Specify this parameter to
show only those reservations matching the specified product
description.public String getProductDescription()
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
public DescribeReservedDBInstancesRequest withProductDescription(String productDescription)
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
productDescription
- The product description filter value. Specify this parameter to
show only those reservations matching the specified product
description.public void setOfferingType(String 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"
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 String getOfferingType()
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"
Valid Values:
"Partial Upfront" | "All Upfront" | "No Upfront"
public DescribeReservedDBInstancesRequest withOfferingType(String 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"
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 void setMultiAZ(Boolean multiAZ)
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
multiAZ
- The Multi-AZ filter value. Specify this parameter to show only
those reservations matching the specified Multi-AZ parameter.public Boolean getMultiAZ()
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
public DescribeReservedDBInstancesRequest withMultiAZ(Boolean multiAZ)
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
multiAZ
- The Multi-AZ filter value. Specify this parameter to show only
those reservations matching the specified Multi-AZ parameter.public Boolean isMultiAZ()
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
public List<Filter> getFilters()
This parameter is not currently supported.
public void setFilters(Collection<Filter> filters)
This parameter is not currently supported.
filters
- This parameter is not currently supported.public DescribeReservedDBInstancesRequest withFilters(Filter... filters)
This parameter is not currently supported.
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
- This parameter is not currently supported.public DescribeReservedDBInstancesRequest withFilters(Collection<Filter> filters)
This parameter is not currently supported.
filters
- This parameter is not currently supported.public void setMaxRecords(Integer 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.
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 Integer getMaxRecords()
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.
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 DescribeReservedDBInstancesRequest withMaxRecords(Integer 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.
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 void setMarker(String 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
.
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 getMarker()
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
.
MaxRecords
.public DescribeReservedDBInstancesRequest withMarker(String 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
.
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 DescribeReservedDBInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.