Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class DescribeReservedDBInstancesOfferingsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.DescribeReservedDBInstancesOfferingsRequest
All Implemented Interfaces:
Serializable

public class DescribeReservedDBInstancesOfferingsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeReservedDBInstancesOfferings operation.

Lists available reserved DB Instance offerings.

See Also:
AmazonRDS.describeReservedDBInstancesOfferings(DescribeReservedDBInstancesOfferingsRequest), Serialized Form

Constructor Summary
DescribeReservedDBInstancesOfferingsRequest()
          Default constructor for a new DescribeReservedDBInstancesOfferingsRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getDBInstanceClass()
          The DB Instance class filter value.
 String getDuration()
          Duration filter value, specified in years or seconds.
 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()
          Product description 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)
          Duration filter value, specified in years or seconds.
 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)
          Product description 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.
 DescribeReservedDBInstancesOfferingsRequest withDBInstanceClass(String dBInstanceClass)
          The DB Instance class filter value.
 DescribeReservedDBInstancesOfferingsRequest withDuration(String duration)
          Duration filter value, specified in years or seconds.
 DescribeReservedDBInstancesOfferingsRequest withMarker(String marker)
          An optional pagination token provided by a previous request.
 DescribeReservedDBInstancesOfferingsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 DescribeReservedDBInstancesOfferingsRequest withMultiAZ(Boolean multiAZ)
          The Multi-AZ filter value.
 DescribeReservedDBInstancesOfferingsRequest withOfferingType(String offeringType)
          The offering type filter value.
 DescribeReservedDBInstancesOfferingsRequest withProductDescription(String productDescription)
          Product description filter value.
 DescribeReservedDBInstancesOfferingsRequest withReservedDBInstancesOfferingId(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

DescribeReservedDBInstancesOfferingsRequest

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

Method Detail

getReservedDBInstancesOfferingId

public String getReservedDBInstancesOfferingId()
The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Returns:
The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706


setReservedDBInstancesOfferingId

public void setReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Parameters:
reservedDBInstancesOfferingId - The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706


withReservedDBInstancesOfferingId

public DescribeReservedDBInstancesOfferingsRequest withReservedDBInstancesOfferingId(String reservedDBInstancesOfferingId)
The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

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 the available offering that matches the specified reservation identifier.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

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 the available offerings matching the specified DB Instance class.

Returns:
The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.

setDBInstanceClass

public void setDBInstanceClass(String dBInstanceClass)
The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.

Parameters:
dBInstanceClass - The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.

withDBInstanceClass

public DescribeReservedDBInstancesOfferingsRequest withDBInstanceClass(String dBInstanceClass)
The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance 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 the available offerings matching the specified DB Instance class.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

public String getDuration()
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:
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(String duration)
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 - 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 DescribeReservedDBInstancesOfferingsRequest withDuration(String duration)
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 - 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 String getProductDescription()
Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.

Returns:
Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.

setProductDescription

public void setProductDescription(String productDescription)
Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.

Parameters:
productDescription - Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.

withProductDescription

public DescribeReservedDBInstancesOfferingsRequest withProductDescription(String productDescription)
Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.

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

Parameters:
productDescription - Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.
Returns:
A reference to this updated object so that method calls can be chained together.

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: "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(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 DescribeReservedDBInstancesOfferingsRequest withOfferingType(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 Boolean isMultiAZ()
The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.

Returns:
The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.

setMultiAZ

public void setMultiAZ(Boolean multiAZ)
The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.

Parameters:
multiAZ - The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.

withMultiAZ

public DescribeReservedDBInstancesOfferingsRequest withMultiAZ(Boolean multiAZ)
The Multi-AZ filter value. Specify this parameter to show only the available offerings 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 the available offerings 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 the available offerings matching the specified Multi-AZ parameter.

Returns:
The Multi-AZ filter value. Specify this parameter to show only the available offerings 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 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(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 DescribeReservedDBInstancesOfferingsRequest 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

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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