com.amazonaws.services.rds.model
Class DescribeReservedDBInstancesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.DescribeReservedDBInstancesRequest

public class DescribeReservedDBInstancesRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeReservedDBInstances operation.

Returns information about reserved DB Instances for this account, or about a specified reserved DB Instance.

See Also:
AmazonRDS.describeReservedDBInstances(DescribeReservedDBInstancesRequest)

Constructor Summary
DescribeReservedDBInstancesRequest()
          Default constructor for a new DescribeReservedDBInstancesRequest object.
 
Method Summary
 String getDBInstanceClass()
          The DB Instance class filter value.
 String getDuration()
          The duration filter value, specified in years or seconds.
 String getMarker()
          The marker provided in the previous request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 Boolean getMultiAZ()
          The Multi-AZ 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.
 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 setMarker(String marker)
          The marker provided in the 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 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 withMarker(String marker)
          The marker provided in the 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 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeReservedDBInstancesRequest

public DescribeReservedDBInstancesRequest()
Default constructor for a new DescribeReservedDBInstancesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedDBInstanceId - The reserved DB Instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withReservedDBInstancesOfferingId

public DescribeReservedDBInstancesRequest withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.

Returns a reference to this object so that method calls can be chained together.

Parameters:
reservedDBInstancesOfferingId - The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBInstanceClass - The DB Instance class filter value. Specify this parameter to show only those reservations matching the specified DB Instances class.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

public String getDuration()
The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.

Returns:
The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.

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.

Parameters:
duration - The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
duration - The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withProductDescription

public DescribeReservedDBInstancesRequest withProductDescription(String productDescription)
The product description filter value. Specify this parameter to show only those reservations matching the specified product description.

Returns a reference to this object so that method calls can be chained together.

Parameters:
productDescription - The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
Returns:
A reference to this updated 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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
multiAZ - The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

getMaxRecords

public Integer getMaxRecords()
The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Returns:
The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Parameters:
maxRecords - The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

withMaxRecords

public DescribeReservedDBInstancesRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxRecords - The maximum number of records to include in the response. If more than the MaxRecords value is available, a marker is included in the response so that the following results can be retrieved.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

Returns:
The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

setMarker

public void setMarker(String marker)
The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

Parameters:
marker - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

withMarker

public DescribeReservedDBInstancesRequest withMarker(String marker)
The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to MaxRecords.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.