Class PurchaseReservedCacheNodesOfferingRequest

    • Constructor Detail

      • PurchaseReservedCacheNodesOfferingRequest

        public PurchaseReservedCacheNodesOfferingRequest()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object