@Generated(value="software.amazon.awssdk:codegen") public final class ReservedCacheNodesOffering extends Object implements ToCopyableBuilder<ReservedCacheNodesOffering.Builder,ReservedCacheNodesOffering>
Describes all of the attributes of a reserved cache node offering.
Modifier and Type | Class and Description |
---|---|
static interface |
ReservedCacheNodesOffering.Builder |
Modifier and Type | Method and Description |
---|---|
static ReservedCacheNodesOffering.Builder |
builder() |
String |
cacheNodeType()
The cache node type for the reserved cache node.
|
Integer |
duration()
The duration of the offering.
|
boolean |
equals(Object obj) |
Double |
fixedPrice()
The fixed price charged for this offering.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
offeringType()
The offering type.
|
String |
productDescription()
The cache engine used by the offering.
|
List<RecurringCharge> |
recurringCharges()
The recurring price charged to run this reserved cache node.
|
String |
reservedCacheNodesOfferingId()
A unique identifier for the reserved cache node offering.
|
static Class<? extends ReservedCacheNodesOffering.Builder> |
serializableBuilderClass() |
ReservedCacheNodesOffering.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 offering.
|
copy
public String reservedCacheNodesOfferingId()
A unique identifier for the reserved cache node offering.
public String cacheNodeType()
The cache node type for the reserved cache node.
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 Integer duration()
The duration of the offering. in seconds.
public Double fixedPrice()
The fixed price charged for this offering.
public Double usagePrice()
The hourly price charged for this offering.
public String productDescription()
The cache engine used by the offering.
public String offeringType()
The offering type.
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 ReservedCacheNodesOffering.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReservedCacheNodesOffering.Builder,ReservedCacheNodesOffering>
public static ReservedCacheNodesOffering.Builder builder()
public static Class<? extends ReservedCacheNodesOffering.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.