@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservedCacheNode extends Object implements Serializable, Cloneable
Represents the output of a PurchaseReservedCacheNodesOffering
operation.
Constructor and Description |
---|
ReservedCacheNode() |
Modifier and Type | Method and Description |
---|---|
ReservedCacheNode |
clone() |
boolean |
equals(Object obj) |
Integer |
getCacheNodeCount()
The number of cache nodes that have been reserved.
|
String |
getCacheNodeType()
The cache node type for the reserved cache nodes.
|
Integer |
getDuration()
The duration of the reservation in seconds.
|
Double |
getFixedPrice()
The fixed price charged for this reserved cache node.
|
String |
getOfferingType()
The offering type of this reserved cache node.
|
String |
getProductDescription()
The description of the reserved cache node.
|
List<RecurringCharge> |
getRecurringCharges()
The recurring price charged to run this reserved cache node.
|
String |
getReservedCacheNodeId()
The unique identifier for the reservation.
|
String |
getReservedCacheNodesOfferingId()
The offering identifier.
|
Date |
getStartTime()
The time the reservation started.
|
String |
getState()
The state of the reserved cache node.
|
Double |
getUsagePrice()
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 |
setState(String state)
The state of the reserved cache node.
|
void |
setUsagePrice(Double usagePrice)
The hourly price charged for this reserved cache node.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReservedCacheNode |
withCacheNodeCount(Integer cacheNodeCount)
The number of cache nodes that have been reserved.
|
ReservedCacheNode |
withCacheNodeType(String cacheNodeType)
The cache node type for the reserved cache nodes.
|
ReservedCacheNode |
withDuration(Integer duration)
The duration of the reservation in seconds.
|
ReservedCacheNode |
withFixedPrice(Double fixedPrice)
The fixed price charged for this reserved cache node.
|
ReservedCacheNode |
withOfferingType(String offeringType)
The offering type of this reserved cache node.
|
ReservedCacheNode |
withProductDescription(String productDescription)
The description of the reserved cache node.
|
ReservedCacheNode |
withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved cache node.
|
ReservedCacheNode |
withRecurringCharges(RecurringCharge... recurringCharges)
The recurring price charged to run this reserved cache node.
|
ReservedCacheNode |
withReservedCacheNodeId(String reservedCacheNodeId)
The unique identifier for the reservation.
|
ReservedCacheNode |
withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier.
|
ReservedCacheNode |
withStartTime(Date startTime)
The time the reservation started.
|
ReservedCacheNode |
withState(String state)
The state of the reserved cache node.
|
ReservedCacheNode |
withUsagePrice(Double usagePrice)
The hourly price charged for this reserved cache node.
|
public void setReservedCacheNodeId(String reservedCacheNodeId)
The unique identifier for the reservation.
reservedCacheNodeId
- The unique identifier for the reservation.public String getReservedCacheNodeId()
The unique identifier for the reservation.
public ReservedCacheNode withReservedCacheNodeId(String reservedCacheNodeId)
The unique identifier for the reservation.
reservedCacheNodeId
- The unique identifier for the reservation.public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier.
reservedCacheNodesOfferingId
- The offering identifier.public String getReservedCacheNodesOfferingId()
The offering identifier.
public ReservedCacheNode withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId)
The offering identifier.
reservedCacheNodesOfferingId
- The offering identifier.public void setCacheNodeType(String cacheNodeType)
The cache node type for the reserved cache nodes.
The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.
General purpose:
Current generation:
T2 node types: cache.t2.micro
, cache.t2.small
, cache.t2.medium
M3 node types: cache.m3.medium
, cache.m3.large
, cache.m3.xlarge
,
cache.m3.2xlarge
M4 node types: cache.m4.large
, cache.m4.xlarge
, cache.m4.2xlarge
,
cache.m4.4xlarge
, cache.m4.10xlarge
Previous generation: (not recommended)
T1 node types: cache.t1.micro
M1 node types: cache.m1.small
, cache.m1.medium
, cache.m1.large
,
cache.m1.xlarge
Compute optimized:
Previous generation: (not recommended)
C1 node types: cache.c1.xlarge
Memory optimized:
Current generation:
R3 node types: cache.r3.large
, cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
Previous generation: (not recommended)
M2 node types: cache.m2.xlarge
, cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.
Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.
Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.
For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
cacheNodeType
- The cache node type for the reserved cache nodes.
The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.
General purpose:
Current generation:
T2 node types: cache.t2.micro
, cache.t2.small
,
cache.t2.medium
M3 node types: cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
M4 node types: cache.m4.large
, cache.m4.xlarge
,
cache.m4.2xlarge
, cache.m4.4xlarge
, cache.m4.10xlarge
Previous generation: (not recommended)
T1 node types: cache.t1.micro
M1 node types: cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
Compute optimized:
Previous generation: (not recommended)
C1 node types: cache.c1.xlarge
Memory optimized:
Current generation:
R3 node types: cache.r3.large
, cache.r3.xlarge
,
cache.r3.2xlarge
, cache.r3.4xlarge
, cache.r3.8xlarge
Previous generation: (not recommended)
M2 node types: cache.m2.xlarge
, cache.m2.2xlarge
,
cache.m2.4xlarge
Notes:
All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.
Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.
Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.
For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
public String getCacheNodeType()
The cache node type for the reserved cache nodes.
The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.
General purpose:
Current generation:
T2 node types: cache.t2.micro
, cache.t2.small
, cache.t2.medium
M3 node types: cache.m3.medium
, cache.m3.large
, cache.m3.xlarge
,
cache.m3.2xlarge
M4 node types: cache.m4.large
, cache.m4.xlarge
, cache.m4.2xlarge
,
cache.m4.4xlarge
, cache.m4.10xlarge
Previous generation: (not recommended)
T1 node types: cache.t1.micro
M1 node types: cache.m1.small
, cache.m1.medium
, cache.m1.large
,
cache.m1.xlarge
Compute optimized:
Previous generation: (not recommended)
C1 node types: cache.c1.xlarge
Memory optimized:
Current generation:
R3 node types: cache.r3.large
, cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
Previous generation: (not recommended)
M2 node types: cache.m2.xlarge
, cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.
Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.
Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.
For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.
General purpose:
Current generation:
T2 node types: cache.t2.micro
, cache.t2.small
,
cache.t2.medium
M3 node types: cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
M4 node types: cache.m4.large
, cache.m4.xlarge
,
cache.m4.2xlarge
, cache.m4.4xlarge
, cache.m4.10xlarge
Previous generation: (not recommended)
T1 node types: cache.t1.micro
M1 node types: cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
Compute optimized:
Previous generation: (not recommended)
C1 node types: cache.c1.xlarge
Memory optimized:
Current generation:
R3 node types: cache.r3.large
, cache.r3.xlarge
,
cache.r3.2xlarge
, cache.r3.4xlarge
, cache.r3.8xlarge
Previous generation: (not recommended)
M2 node types: cache.m2.xlarge
, cache.m2.2xlarge
,
cache.m2.4xlarge
Notes:
All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.
Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.
Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.
For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
public ReservedCacheNode withCacheNodeType(String cacheNodeType)
The cache node type for the reserved cache nodes.
The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.
General purpose:
Current generation:
T2 node types: cache.t2.micro
, cache.t2.small
, cache.t2.medium
M3 node types: cache.m3.medium
, cache.m3.large
, cache.m3.xlarge
,
cache.m3.2xlarge
M4 node types: cache.m4.large
, cache.m4.xlarge
, cache.m4.2xlarge
,
cache.m4.4xlarge
, cache.m4.10xlarge
Previous generation: (not recommended)
T1 node types: cache.t1.micro
M1 node types: cache.m1.small
, cache.m1.medium
, cache.m1.large
,
cache.m1.xlarge
Compute optimized:
Previous generation: (not recommended)
C1 node types: cache.c1.xlarge
Memory optimized:
Current generation:
R3 node types: cache.r3.large
, cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
Previous generation: (not recommended)
M2 node types: cache.m2.xlarge
, cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.
Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.
Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.
For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
cacheNodeType
- The cache node type for the reserved cache nodes.
The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.
General purpose:
Current generation:
T2 node types: cache.t2.micro
, cache.t2.small
,
cache.t2.medium
M3 node types: cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
M4 node types: cache.m4.large
, cache.m4.xlarge
,
cache.m4.2xlarge
, cache.m4.4xlarge
, cache.m4.10xlarge
Previous generation: (not recommended)
T1 node types: cache.t1.micro
M1 node types: cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
Compute optimized:
Previous generation: (not recommended)
C1 node types: cache.c1.xlarge
Memory optimized:
Current generation:
R3 node types: cache.r3.large
, cache.r3.xlarge
,
cache.r3.2xlarge
, cache.r3.4xlarge
, cache.r3.8xlarge
Previous generation: (not recommended)
M2 node types: cache.m2.xlarge
, cache.m2.2xlarge
,
cache.m2.4xlarge
Notes:
All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.
Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.
Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.
For a complete listing of node types and specifications, see Amazon ElastiCache Product Features and Details and either Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
public void setStartTime(Date startTime)
The time the reservation started.
startTime
- The time the reservation started.public Date getStartTime()
The time the reservation started.
public ReservedCacheNode withStartTime(Date startTime)
The time the reservation started.
startTime
- The time the reservation started.public void setDuration(Integer duration)
The duration of the reservation in seconds.
duration
- The duration of the reservation in seconds.public Integer getDuration()
The duration of the reservation in seconds.
public ReservedCacheNode withDuration(Integer duration)
The duration of the reservation in seconds.
duration
- The duration of the reservation in seconds.public void setFixedPrice(Double fixedPrice)
The fixed price charged for this reserved cache node.
fixedPrice
- The fixed price charged for this reserved cache node.public Double getFixedPrice()
The fixed price charged for this reserved cache node.
public ReservedCacheNode withFixedPrice(Double fixedPrice)
The fixed price charged for this reserved cache node.
fixedPrice
- The fixed price charged for this reserved cache node.public void setUsagePrice(Double usagePrice)
The hourly price charged for this reserved cache node.
usagePrice
- The hourly price charged for this reserved cache node.public Double getUsagePrice()
The hourly price charged for this reserved cache node.
public ReservedCacheNode withUsagePrice(Double usagePrice)
The hourly price charged for this reserved cache node.
usagePrice
- The hourly price charged for this reserved cache node.public void setCacheNodeCount(Integer cacheNodeCount)
The number of cache nodes that have been reserved.
cacheNodeCount
- The number of cache nodes that have been reserved.public Integer getCacheNodeCount()
The number of cache nodes that have been reserved.
public ReservedCacheNode withCacheNodeCount(Integer cacheNodeCount)
The number of cache nodes that have been reserved.
cacheNodeCount
- The number of cache nodes that have been reserved.public void setProductDescription(String productDescription)
The description of the reserved cache node.
productDescription
- The description of the reserved cache node.public String getProductDescription()
The description of the reserved cache node.
public ReservedCacheNode withProductDescription(String productDescription)
The description of the reserved cache node.
productDescription
- The description of the reserved cache node.public void setOfferingType(String offeringType)
The offering type of this reserved cache node.
offeringType
- The offering type of this reserved cache node.public String getOfferingType()
The offering type of this reserved cache node.
public ReservedCacheNode withOfferingType(String offeringType)
The offering type of this reserved cache node.
offeringType
- The offering type of this reserved cache node.public void setState(String state)
The state of the reserved cache node.
state
- The state of the reserved cache node.public String getState()
The state of the reserved cache node.
public ReservedCacheNode withState(String state)
The state of the reserved cache node.
state
- The state of the reserved cache node.public List<RecurringCharge> getRecurringCharges()
The recurring price charged to run this reserved cache node.
public void setRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved cache node.
recurringCharges
- The recurring price charged to run this reserved cache node.public ReservedCacheNode withRecurringCharges(RecurringCharge... recurringCharges)
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)
or withRecurringCharges(java.util.Collection)
if you
want to override the existing values.
recurringCharges
- The recurring price charged to run this reserved cache node.public ReservedCacheNode withRecurringCharges(Collection<RecurringCharge> recurringCharges)
The recurring price charged to run this reserved cache node.
recurringCharges
- The recurring price charged to run this reserved cache node.public String toString()
toString
in class Object
Object.toString()
public ReservedCacheNode clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.