ToCopyableBuilder<ReservedCacheNode.Builder,ReservedCacheNode>
@Generated("software.amazon.awssdk:codegen") public class ReservedCacheNode extends Object implements ToCopyableBuilder<ReservedCacheNode.Builder,ReservedCacheNode>
Represents the output of a PurchaseReservedCacheNodesOffering
operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ReservedCacheNode.Builder |
Modifier and Type | Method | 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.
|
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() |
|
Date |
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.
|
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.
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
, cache.m4.large
, cache.m4.xlarge
,
cache.m4.2xlarge
, cache.m4.4xlarge
, cache.m4.10xlarge
Previous generation: cache.t1.micro
, cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
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
Notes:
All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 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.
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
, cache.m4.large
,
cache.m4.xlarge
, cache.m4.2xlarge
, cache.m4.4xlarge
,
cache.m4.10xlarge
Previous generation: cache.t1.micro
, cache.m1.small
,
cache.m1.medium
, cache.m1.large
, cache.m1.xlarge
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
Notes:
All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).
Redis backup/restore is not supported for Redis (cluster mode disabled) T1 and T2 instances. Backup/restore is supported on Redis (cluster mode enabled) T2 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 Date 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.
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.