@Generated(value="software.amazon.awssdk:codegen") public final class ReservedCacheNode extends Object implements ToCopyableBuilder<ReservedCacheNode.Builder,ReservedCacheNode>
Represents the output of a PurchaseReservedCacheNodesOffering
operation.
Modifier and Type | Class and Description |
---|---|
static interface |
ReservedCacheNode.Builder |
Modifier and Type | Method and Description |
---|---|
static ReservedCacheNode.Builder |
builder() |
Integer |
cacheNodeCount()
The number of cache nodes that have been reserved.
|
String |
cacheNodeType()
The cache node type for the reserved cache nodes.
|
Integer |
duration()
The duration of the reservation in seconds.
|
boolean |
equals(Object obj) |
Double |
fixedPrice()
The fixed price charged for this reserved cache node.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
offeringType()
The offering type of this reserved cache node.
|
String |
productDescription()
The description of the reserved cache node.
|
List<RecurringCharge> |
recurringCharges()
The recurring price charged to run this reserved cache node.
|
String |
reservedCacheNodeId()
The unique identifier for the reservation.
|
String |
reservedCacheNodesOfferingId()
The offering identifier.
|
static Class<? extends ReservedCacheNode.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time the reservation started.
|
String |
state()
The state of the reserved cache node.
|
ReservedCacheNode.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Double |
usagePrice()
The hourly price charged for this reserved cache node.
|
copy
public String reservedCacheNodeId()
The unique identifier for the reservation.
public String reservedCacheNodesOfferingId()
The offering identifier.
public 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.
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 Instant startTime()
The time the reservation started.
public Integer duration()
The duration of the reservation in seconds.
public Double fixedPrice()
The fixed price charged for this reserved cache node.
public Double usagePrice()
The hourly price charged for this reserved cache node.
public Integer cacheNodeCount()
The number of cache nodes that have been reserved.
public String productDescription()
The description of the reserved cache node.
public String offeringType()
The offering type of this reserved cache node.
public String state()
The state of the reserved cache node.
public List<RecurringCharge> recurringCharges()
The recurring price charged to run this reserved cache node.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ReservedCacheNode.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReservedCacheNode.Builder,ReservedCacheNode>
public static ReservedCacheNode.Builder builder()
public static Class<? extends ReservedCacheNode.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.