Class PurchaseReservedCacheNodesOfferingRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.PurchaseReservedCacheNodesOfferingRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class PurchaseReservedCacheNodesOfferingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of a PurchaseReservedCacheNodesOffering action.

See Also:
  • Constructor Details

    • PurchaseReservedCacheNodesOfferingRequest

      public PurchaseReservedCacheNodesOfferingRequest()
  • Method Details

    • setReservedCacheNodesOfferingId

      public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)

      The ID of the reserved cache node offering to purchase.

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

      Parameters:
      reservedCacheNodesOfferingId - The ID of the reserved cache node offering to purchase.

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

    • getReservedCacheNodesOfferingId

      public String getReservedCacheNodesOfferingId()

      The ID of the reserved cache node offering to purchase.

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

      Returns:
      The ID of the reserved cache node offering to purchase.

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

    • withReservedCacheNodesOfferingId

      public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)

      The ID of the reserved cache node offering to purchase.

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

      Parameters:
      reservedCacheNodesOfferingId - The ID of the reserved cache node offering to purchase.

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

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

      public void setReservedCacheNodeId(String reservedCacheNodeId)

      A customer-specified identifier to track this reservation.

      Note:
      The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

      Example: myreservationID

      Parameters:
      reservedCacheNodeId - A customer-specified identifier to track this reservation.

      Note:
      The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

      Example: myreservationID

    • getReservedCacheNodeId

      public String getReservedCacheNodeId()

      A customer-specified identifier to track this reservation.

      Note:
      The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

      Example: myreservationID

      Returns:
      A customer-specified identifier to track this reservation.

      Note:
      The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

      Example: myreservationID

    • withReservedCacheNodeId

      public PurchaseReservedCacheNodesOfferingRequest withReservedCacheNodeId(String reservedCacheNodeId)

      A customer-specified identifier to track this reservation.

      Note:
      The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

      Example: myreservationID

      Parameters:
      reservedCacheNodeId - A customer-specified identifier to track this reservation.

      Note:
      The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.

      Example: myreservationID

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

      public void setCacheNodeCount(Integer cacheNodeCount)

      The number of cache node instances to reserve.

      Default: 1

      Parameters:
      cacheNodeCount - The number of cache node instances to reserve.

      Default: 1

    • getCacheNodeCount

      public Integer getCacheNodeCount()

      The number of cache node instances to reserve.

      Default: 1

      Returns:
      The number of cache node instances to reserve.

      Default: 1

    • withCacheNodeCount

      public PurchaseReservedCacheNodesOfferingRequest withCacheNodeCount(Integer cacheNodeCount)

      The number of cache node instances to reserve.

      Default: 1

      Parameters:
      cacheNodeCount - The number of cache node instances to reserve.

      Default: 1

      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: