Did this page help you?

   Yes   No   Tell us about it...

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
 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.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 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 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, 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 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.

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(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.

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(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.

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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 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

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


setDuration

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

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


withDuration

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

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.

Valid Values: 1 | 3 | 31536000 | 94608000

Returns:
A reference to this updated object so that method calls can be chained together.

getProductDescription

public java.lang.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(java.lang.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(java.lang.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.

getOfferingType

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: "Light Utilization" | "Medium Utilization" | "Heavy Utilization"

Returns:
The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.

Valid Values: "Light Utilization" | "Medium Utilization" | "Heavy Utilization"


setOfferingType

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: "Light Utilization" | "Medium Utilization" | "Heavy Utilization"

Parameters:
offeringType - The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.

Valid Values: "Light Utilization" | "Medium Utilization" | "Heavy Utilization"


withOfferingType

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: "Light Utilization" | "Medium Utilization" | "Heavy Utilization"

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

Parameters:
offeringType - The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.

Valid Values: "Light Utilization" | "Medium Utilization" | "Heavy Utilization"

Returns:
A reference to this updated object so that method calls can be chained together.

isMultiAZ

public java.lang.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(java.lang.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(java.lang.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 java.lang.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 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

Returns:
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


setMaxRecords

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

Parameters:
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


withMaxRecords

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

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 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 updated object so that method calls can be chained together.

getMarker

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.

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.

setMarker

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.

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 by MaxRecords.

withMarker

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.

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

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 by MaxRecords.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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