Class ReservedCacheNode
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a PurchaseReservedCacheNodesOffering action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The number of cache nodes that have been reserved.The cache node type for the reserved cache nodes.The duration of the reservation in seconds.The fixed price charged for this reserved cache node.The offering type of this reserved cache node.The description of the reserved cache node.The recurring price charged to run this reserved cache node.The unique identifier for the reservation.The offering identifier.The time the reservation started.getState()
The state of the reserved cache node.The hourly price charged for this reserved cache node.int
hashCode()
void
setCacheNodeCount
(Integer cacheNodeCount) The number of cache nodes that have been reserved.void
setCacheNodeType
(String cacheNodeType) The cache node type for the reserved cache nodes.void
setDuration
(Integer duration) The duration of the reservation in seconds.void
setFixedPrice
(Double fixedPrice) The fixed price charged for this reserved cache node.void
setOfferingType
(String offeringType) The offering type of this reserved cache node.void
setProductDescription
(String productDescription) The description of the reserved cache node.void
setRecurringCharges
(Collection<RecurringCharge> recurringCharges) The recurring price charged to run this reserved cache node.void
setReservedCacheNodeId
(String reservedCacheNodeId) The unique identifier for the reservation.void
setReservedCacheNodesOfferingId
(String reservedCacheNodesOfferingId) The offering identifier.void
setStartTime
(Date startTime) The time the reservation started.void
The state of the reserved cache node.void
setUsagePrice
(Double usagePrice) The hourly price charged for this reserved cache node.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheNodeCount
(Integer cacheNodeCount) The number of cache nodes that have been reserved.withCacheNodeType
(String cacheNodeType) The cache node type for the reserved cache nodes.withDuration
(Integer duration) The duration of the reservation in seconds.withFixedPrice
(Double fixedPrice) The fixed price charged for this reserved cache node.withOfferingType
(String offeringType) The offering type of this reserved cache node.withProductDescription
(String productDescription) The description of the reserved cache node.withRecurringCharges
(RecurringCharge... recurringCharges) The recurring price charged to run this reserved cache node.withRecurringCharges
(Collection<RecurringCharge> recurringCharges) The recurring price charged to run this reserved cache node.withReservedCacheNodeId
(String reservedCacheNodeId) The unique identifier for the reservation.withReservedCacheNodesOfferingId
(String reservedCacheNodesOfferingId) The offering identifier.withStartTime
(Date startTime) The time the reservation started.The state of the reserved cache node.withUsagePrice
(Double usagePrice) The hourly price charged for this reserved cache node.
-
Constructor Details
-
ReservedCacheNode
public ReservedCacheNode()
-
-
Method Details
-
setReservedCacheNodeId
The unique identifier for the reservation.
- Parameters:
reservedCacheNodeId
- The unique identifier for the reservation.
-
getReservedCacheNodeId
The unique identifier for the reservation.
- Returns:
- The unique identifier for the reservation.
-
withReservedCacheNodeId
The unique identifier for the reservation.
- Parameters:
reservedCacheNodeId
- The unique identifier for the reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReservedCacheNodesOfferingId
The offering identifier.
- Parameters:
reservedCacheNodesOfferingId
- The offering identifier.
-
getReservedCacheNodesOfferingId
The offering identifier.
- Returns:
- The offering identifier.
-
withReservedCacheNodesOfferingId
The offering identifier.
- Parameters:
reservedCacheNodesOfferingId
- The offering identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheNodeType
The cache node type for the reserved cache nodes.
Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
- Parameters:
cacheNodeType
- The cache node type for the reserved cache nodes.Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
- General purpose:
- General purpose:
-
getCacheNodeType
The cache node type for the reserved cache nodes.
Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
- Returns:
- The cache node type for the reserved cache nodes.
Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
- General purpose:
- General purpose:
-
withCacheNodeType
The cache node type for the reserved cache nodes.
Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
- Parameters:
cacheNodeType
- The cache node type for the reserved cache nodes.Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
- General purpose:
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- General purpose:
-
setStartTime
The time the reservation started.
- Parameters:
startTime
- The time the reservation started.
-
getStartTime
The time the reservation started.
- Returns:
- The time the reservation started.
-
withStartTime
The time the reservation started.
- Parameters:
startTime
- The time the reservation started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDuration
The duration of the reservation in seconds.
- Parameters:
duration
- The duration of the reservation in seconds.
-
getDuration
The duration of the reservation in seconds.
- Returns:
- The duration of the reservation in seconds.
-
withDuration
The duration of the reservation in seconds.
- Parameters:
duration
- The duration of the reservation in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFixedPrice
The fixed price charged for this reserved cache node.
- Parameters:
fixedPrice
- The fixed price charged for this reserved cache node.
-
getFixedPrice
The fixed price charged for this reserved cache node.
- Returns:
- The fixed price charged for this reserved cache node.
-
withFixedPrice
The fixed price charged for this reserved cache node.
- Parameters:
fixedPrice
- The fixed price charged for this reserved cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUsagePrice
The hourly price charged for this reserved cache node.
- Parameters:
usagePrice
- The hourly price charged for this reserved cache node.
-
getUsagePrice
The hourly price charged for this reserved cache node.
- Returns:
- The hourly price charged for this reserved cache node.
-
withUsagePrice
The hourly price charged for this reserved cache node.
- Parameters:
usagePrice
- The hourly price charged for this reserved cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheNodeCount
The number of cache nodes that have been reserved.
- Parameters:
cacheNodeCount
- The number of cache nodes that have been reserved.
-
getCacheNodeCount
The number of cache nodes that have been reserved.
- Returns:
- The number of cache nodes that have been reserved.
-
withCacheNodeCount
The number of cache nodes that have been reserved.
- Parameters:
cacheNodeCount
- The number of cache nodes that have been reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProductDescription
The description of the reserved cache node.
- Parameters:
productDescription
- The description of the reserved cache node.
-
getProductDescription
The description of the reserved cache node.
- Returns:
- The description of the reserved cache node.
-
withProductDescription
The description of the reserved cache node.
- Parameters:
productDescription
- The description of the reserved cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOfferingType
The offering type of this reserved cache node.
- Parameters:
offeringType
- The offering type of this reserved cache node.
-
getOfferingType
The offering type of this reserved cache node.
- Returns:
- The offering type of this reserved cache node.
-
withOfferingType
The offering type of this reserved cache node.
- Parameters:
offeringType
- The offering type of this reserved cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The state of the reserved cache node.
- Parameters:
state
- The state of the reserved cache node.
-
getState
The state of the reserved cache node.
- Returns:
- The state of the reserved cache node.
-
withState
The state of the reserved cache node.
- Parameters:
state
- The state of the reserved cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRecurringCharges
The recurring price charged to run this reserved cache node.
- Returns:
- The recurring price charged to run this reserved cache node.
-
setRecurringCharges
The recurring price charged to run this reserved cache node.
- Parameters:
recurringCharges
- The recurring price charged to run this reserved cache node.
-
withRecurringCharges
The recurring price charged to run this reserved cache node.
NOTE: This method appends the values to the existing list (if any). Use
setRecurringCharges(java.util.Collection)
orwithRecurringCharges(java.util.Collection)
if you want to override the existing values.- Parameters:
recurringCharges
- The recurring price charged to run this reserved cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRecurringCharges
The recurring price charged to run this reserved cache node.
- Parameters:
recurringCharges
- The recurring price charged to run this reserved cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-