Class DescribeReservedDBInstancesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.DescribeReservedDBInstancesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeReservedDBInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedDBInstancesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeReservedDBInstancesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDBInstanceClass()The DB instance class filter value.StringgetDuration()The duration filter value, specified in years or seconds.List<Filter>getFilters()This parameter is not currently supported.StringgetMarker()An optional pagination token provided by a previous request.IntegergetMaxRecords()The maximum number of records to include in the response.BooleangetMultiAZ()The Multi-AZ filter value.StringgetOfferingType()The offering type filter value.StringgetProductDescription()The product description filter value.StringgetReservedDBInstanceId()The reserved DB instance identifier filter value.StringgetReservedDBInstancesOfferingId()The offering identifier filter value.inthashCode()BooleanisMultiAZ()The Multi-AZ filter value.voidsetDBInstanceClass(String dBInstanceClass)The DB instance class filter value.voidsetDuration(String duration)The duration filter value, specified in years or seconds.voidsetFilters(Collection<Filter> filters)This parameter is not currently supported.voidsetMarker(String marker)An optional pagination token provided by a previous request.voidsetMaxRecords(Integer maxRecords)The maximum number of records to include in the response.voidsetMultiAZ(Boolean multiAZ)The Multi-AZ filter value.voidsetOfferingType(String offeringType)The offering type filter value.voidsetProductDescription(String productDescription)The product description filter value.voidsetReservedDBInstanceId(String reservedDBInstanceId)The reserved DB instance identifier filter value.voidsetReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)The offering identifier filter value.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeReservedDBInstancesRequestwithDBInstanceClass(String dBInstanceClass)The DB instance class filter value.DescribeReservedDBInstancesRequestwithDuration(String duration)The duration filter value, specified in years or seconds.DescribeReservedDBInstancesRequestwithFilters(Filter... filters)This parameter is not currently supported.DescribeReservedDBInstancesRequestwithFilters(Collection<Filter> filters)This parameter is not currently supported.DescribeReservedDBInstancesRequestwithMarker(String marker)An optional pagination token provided by a previous request.DescribeReservedDBInstancesRequestwithMaxRecords(Integer maxRecords)The maximum number of records to include in the response.DescribeReservedDBInstancesRequestwithMultiAZ(Boolean multiAZ)The Multi-AZ filter value.DescribeReservedDBInstancesRequestwithOfferingType(String offeringType)The offering type filter value.DescribeReservedDBInstancesRequestwithProductDescription(String productDescription)The product description filter value.DescribeReservedDBInstancesRequestwithReservedDBInstanceId(String reservedDBInstanceId)The reserved DB instance identifier filter value.DescribeReservedDBInstancesRequestwithReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)The offering identifier filter value.-
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
-
setReservedDBInstanceId
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.
- Parameters:
reservedDBInstanceId- The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
-
getReservedDBInstanceId
public String getReservedDBInstanceId()
The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
- Returns:
- The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
-
withReservedDBInstanceId
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.
- Parameters:
reservedDBInstanceId- The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReservedDBInstancesOfferingId
public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
- Parameters:
reservedDBInstancesOfferingId- The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
-
getReservedDBInstancesOfferingId
public String getReservedDBInstancesOfferingId()
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
- Returns:
- The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
-
withReservedDBInstancesOfferingId
public DescribeReservedDBInstancesRequest withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
- Parameters:
reservedDBInstancesOfferingId- The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBInstanceClass
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.
- Parameters:
dBInstanceClass- The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
-
getDBInstanceClass
public String getDBInstanceClass()
The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
- Returns:
- The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
-
withDBInstanceClass
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.
- Parameters:
dBInstanceClass- The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDuration
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- Parameters:
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
-
getDuration
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- Returns:
- 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
-
withDuration
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- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProductDescription
public void setProductDescription(String productDescription)
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
- Parameters:
productDescription- The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
-
getProductDescription
public String getProductDescription()
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
- Returns:
- The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
-
withProductDescription
public DescribeReservedDBInstancesRequest withProductDescription(String productDescription)
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
- Parameters:
productDescription- The product description filter value. Specify this parameter to show only those reservations matching the specified product description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOfferingType
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"- Parameters:
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"
-
getOfferingType
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"- Returns:
- 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"
-
withOfferingType
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"- Parameters:
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"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMultiAZ
public void setMultiAZ(Boolean multiAZ)
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
- Parameters:
multiAZ- The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
-
getMultiAZ
public Boolean getMultiAZ()
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
- Returns:
- The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
-
withMultiAZ
public DescribeReservedDBInstancesRequest withMultiAZ(Boolean multiAZ)
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
- Parameters:
multiAZ- The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isMultiAZ
public Boolean isMultiAZ()
The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
- Returns:
- The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
-
getFilters
public List<Filter> getFilters()
This parameter is not currently supported.
- Returns:
- This parameter is not currently supported.
-
setFilters
public void setFilters(Collection<Filter> filters)
This parameter is not currently supported.
- Parameters:
filters- This parameter is not currently supported.
-
withFilters
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)orwithFilters(java.util.Collection)if you want to override the existing values.- Parameters:
filters- This parameter is not currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFilters
public DescribeReservedDBInstancesRequest withFilters(Collection<Filter> filters)
This parameter is not currently supported.
- Parameters:
filters- This parameter is not currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxRecords
public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more than the
MaxRecordsvalue 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.
- Parameters:
maxRecords- The maximum number of records to include in the response. If more than theMaxRecordsvalue 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.
-
getMaxRecords
public Integer getMaxRecords()
The maximum number of records to include in the response. If more than the
MaxRecordsvalue 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:
- The maximum number of records to include in the response. If more
than the
MaxRecordsvalue 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.
-
withMaxRecords
public DescribeReservedDBInstancesRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more than the
MaxRecordsvalue 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.
- Parameters:
maxRecords- The maximum number of records to include in the response. If more than theMaxRecordsvalue 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:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
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.- Parameters:
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 byMaxRecords.
-
getMarker
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.- Returns:
- 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.
-
withMarker
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.- Parameters:
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 byMaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 DescribeReservedDBInstancesRequest 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()
-
-