Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class DescribeReservedCacheNodesRequest

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

public class DescribeReservedCacheNodesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeReservedCacheNodes operation.

Returns information about reserved Cache Nodes for this account, or about a specified reserved Cache Node.

See Also:
AmazonElastiCache.describeReservedCacheNodes(DescribeReservedCacheNodesRequest), Serialized Form

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

DescribeReservedCacheNodesRequest

public DescribeReservedCacheNodesRequest()
Method Detail

getReservedCacheNodeId

public String getReservedCacheNodeId()
The reserved Cache Node identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.

Returns:
The reserved Cache Node identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.

setReservedCacheNodeId

public void setReservedCacheNodeId(String reservedCacheNodeId)
The reserved Cache Node identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.

Parameters:
reservedCacheNodeId - The reserved Cache Node identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.

withReservedCacheNodeId

public DescribeReservedCacheNodesRequest withReservedCacheNodeId(String reservedCacheNodeId)
The reserved Cache Node 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:
reservedCacheNodeId - The reserved Cache Node 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.

getReservedCacheNodesOfferingId

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

setReservedCacheNodesOfferingId

public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.

Parameters:
reservedCacheNodesOfferingId - The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.

withReservedCacheNodesOfferingId

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

getCacheNodeType

public String getCacheNodeType()
The Cache Node type filter value. Specify this parameter to show only those reservations matching the specified Cache Nodes type.

Returns:
The Cache Node type filter value. Specify this parameter to show only those reservations matching the specified Cache Nodes type.

setCacheNodeType

public void setCacheNodeType(String cacheNodeType)
The Cache Node type filter value. Specify this parameter to show only those reservations matching the specified Cache Nodes type.

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

withCacheNodeType

public DescribeReservedCacheNodesRequest withCacheNodeType(String cacheNodeType)
The Cache Node type filter value. Specify this parameter to show only those reservations matching the specified Cache Nodes 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 those reservations matching the specified Cache Nodes type.
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.

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

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

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

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.

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

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

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.