Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class DescribeReservedCacheNodesOfferingsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticache.model.DescribeReservedCacheNodesOfferingsRequest

public class DescribeReservedCacheNodesOfferingsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeReservedCacheNodesOfferings operation.

Lists available reserved Cache Node offerings.

See Also:
AmazonElastiCache.describeReservedCacheNodesOfferings(DescribeReservedCacheNodesOfferingsRequest)

Constructor Summary
DescribeReservedCacheNodesOfferingsRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCacheNodeType()
          The Cache Node type filter value.
 java.lang.String getDuration()
          Duration filter value, specified in years or seconds.
 java.lang.String getMarker()
          The marker provided in the previous request.
 java.lang.Integer getMaxRecords()
          The maximum number of records to include in the response.
 java.lang.String getOfferingType()
          The offering type filter value.
 java.lang.String getProductDescription()
          Product description filter value.
 java.lang.String getReservedCacheNodesOfferingId()
          The offering identifier filter value.
 int hashCode()
           
 void setCacheNodeType(java.lang.String cacheNodeType)
          The Cache Node type filter value.
 void setDuration(java.lang.String duration)
          Duration filter value, specified in years or seconds.
 void setMarker(java.lang.String marker)
          The marker provided in the previous request.
 void setMaxRecords(java.lang.Integer maxRecords)
          The maximum number of records to include in the response.
 void setOfferingType(java.lang.String offeringType)
          The offering type filter value.
 void setProductDescription(java.lang.String productDescription)
          Product description filter value.
 void setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
          The offering identifier filter value.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedCacheNodesOfferingsRequest withCacheNodeType(java.lang.String cacheNodeType)
          The Cache Node type filter value.
 DescribeReservedCacheNodesOfferingsRequest withDuration(java.lang.String duration)
          Duration filter value, specified in years or seconds.
 DescribeReservedCacheNodesOfferingsRequest withMarker(java.lang.String marker)
          The marker provided in the previous request.
 DescribeReservedCacheNodesOfferingsRequest withMaxRecords(java.lang.Integer maxRecords)
          The maximum number of records to include in the response.
 DescribeReservedCacheNodesOfferingsRequest withOfferingType(java.lang.String offeringType)
          The offering type filter value.
 DescribeReservedCacheNodesOfferingsRequest withProductDescription(java.lang.String productDescription)
          Product description filter value.
 DescribeReservedCacheNodesOfferingsRequest withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
          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

DescribeReservedCacheNodesOfferingsRequest

public DescribeReservedCacheNodesOfferingsRequest()
Method Detail

getReservedCacheNodesOfferingId

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


setReservedCacheNodesOfferingId

public void setReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
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:
reservedCacheNodesOfferingId - 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


withReservedCacheNodesOfferingId

public DescribeReservedCacheNodesOfferingsRequest withReservedCacheNodesOfferingId(java.lang.String reservedCacheNodesOfferingId)
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:
reservedCacheNodesOfferingId - 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.

getCacheNodeType

public java.lang.String getCacheNodeType()
The Cache Node type filter value. Specify this parameter to show only the available offerings matching the specified Cache Node type.

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

setCacheNodeType

public void setCacheNodeType(java.lang.String cacheNodeType)
The Cache Node type filter value. Specify this parameter to show only the available offerings matching the specified Cache Node type.

Parameters:
cacheNodeType - The Cache Node type filter value. Specify this parameter to show only the available offerings matching the specified Cache Node type.

withCacheNodeType

public DescribeReservedCacheNodesOfferingsRequest withCacheNodeType(java.lang.String cacheNodeType)
The Cache Node type filter value. Specify this parameter to show only the available offerings matching the specified Cache Node type.

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

Parameters:
cacheNodeType - The Cache Node type filter value. Specify this parameter to show only the available offerings matching the specified Cache Node type.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

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

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 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 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 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 marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: minimum 20, maximum 100


withMaxRecords

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

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