public class DescribeReservedDBInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dBInstanceClass
The DB instance class filter value.
|
private java.lang.String |
duration
The duration filter value, specified in years or seconds.
|
private SdkInternalList<Filter> |
filters
This parameter is not currently supported.
|
private java.lang.String |
marker
An optional pagination token provided by a previous request.
|
private java.lang.Integer |
maxRecords
The maximum number of records to include in the response.
|
private java.lang.Boolean |
multiAZ
The Multi-AZ filter value.
|
private java.lang.String |
offeringType
The offering type filter value.
|
private java.lang.String |
productDescription
The product description filter value.
|
private java.lang.String |
reservedDBInstanceId
The reserved DB instance identifier filter value.
|
private java.lang.String |
reservedDBInstancesOfferingId
The offering identifier filter value.
|
NOOP
Constructor and Description |
---|
DescribeReservedDBInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedDBInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDBInstanceClass()
The DB instance class filter value.
|
java.lang.String |
getDuration()
The duration filter value, specified in years or seconds.
|
java.util.List<Filter> |
getFilters()
This parameter is not currently supported.
|
java.lang.String |
getMarker()
An optional pagination token provided by a previous request.
|
java.lang.Integer |
getMaxRecords()
The maximum number of records to include in the response.
|
java.lang.Boolean |
getMultiAZ()
The Multi-AZ filter value.
|
java.lang.String |
getOfferingType()
The offering type filter value.
|
java.lang.String |
getProductDescription()
The product description filter value.
|
java.lang.String |
getReservedDBInstanceId()
The reserved DB instance identifier filter value.
|
java.lang.String |
getReservedDBInstancesOfferingId()
The offering identifier filter value.
|
int |
hashCode() |
java.lang.Boolean |
isMultiAZ()
The Multi-AZ filter value.
|
void |
setDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class filter value.
|
void |
setDuration(java.lang.String duration)
The duration filter value, specified in years or seconds.
|
void |
setFilters(java.util.Collection<Filter> filters)
This parameter is not currently supported.
|
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of records to include in the response.
|
void |
setMultiAZ(java.lang.Boolean multiAZ)
The Multi-AZ filter value.
|
void |
setOfferingType(java.lang.String offeringType)
The offering type filter value.
|
void |
setProductDescription(java.lang.String productDescription)
The product description filter value.
|
void |
setReservedDBInstanceId(java.lang.String reservedDBInstanceId)
The reserved DB instance identifier filter value.
|
void |
setReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
The offering identifier filter value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedDBInstancesRequest |
withDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class filter value.
|
DescribeReservedDBInstancesRequest |
withDuration(java.lang.String duration)
The duration filter value, specified in years or seconds.
|
DescribeReservedDBInstancesRequest |
withFilters(java.util.Collection<Filter> filters)
This parameter is not currently supported.
|
DescribeReservedDBInstancesRequest |
withFilters(Filter... filters)
This parameter is not currently supported.
|
DescribeReservedDBInstancesRequest |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
DescribeReservedDBInstancesRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of records to include in the response.
|
DescribeReservedDBInstancesRequest |
withMultiAZ(java.lang.Boolean multiAZ)
The Multi-AZ filter value.
|
DescribeReservedDBInstancesRequest |
withOfferingType(java.lang.String offeringType)
The offering type filter value.
|
DescribeReservedDBInstancesRequest |
withProductDescription(java.lang.String productDescription)
The product description filter value.
|
DescribeReservedDBInstancesRequest |
withReservedDBInstanceId(java.lang.String reservedDBInstanceId)
The reserved DB instance identifier filter value.
|
DescribeReservedDBInstancesRequest |
withReservedDBInstancesOfferingId(java.lang.String reservedDBInstancesOfferingId)
The offering identifier filter value.
|
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 reservedDBInstanceId
The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
private java.lang.String reservedDBInstancesOfferingId
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
private java.lang.String dBInstanceClass
The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
private java.lang.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
private java.lang.String productDescription
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
private java.lang.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"
private java.lang.Boolean multiAZ
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
private SdkInternalList<Filter> filters
This parameter is not currently supported.
private java.lang.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.
private java.lang.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
.
public void setReservedDBInstanceId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getReservedDBInstancesOfferingId()
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
public DescribeReservedDBInstancesRequest withReservedDBInstancesOfferingId(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String getProductDescription()
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
public DescribeReservedDBInstancesRequest withProductDescription(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.Boolean getMultiAZ()
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
public DescribeReservedDBInstancesRequest withMultiAZ(java.lang.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 java.lang.Boolean isMultiAZ()
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
public java.util.List<Filter> getFilters()
This parameter is not currently supported.
public void setFilters(java.util.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(java.util.Collection<Filter> filters)
This parameter is not currently supported.
filters
- This parameter is not currently supported.public void setMaxRecords(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 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 DescribeReservedDBInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()