@Generated(value="software.amazon.awssdk:codegen") public final class ReservedCacheNode extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
Double |
fixedPrice()
The fixed price charged for this reserved cache node.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRecurringCharges()
Returns true if the RecurringCharges property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
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 |
reservationARN()
The Amazon Resource Name (ARN) of the reserved cache node.
|
String |
reservedCacheNodeId()
The unique identifier for the reservation.
|
String |
reservedCacheNodesOfferingId()
The offering identifier.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
Double |
usagePrice()
The hourly price charged for this reserved cache node.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String reservedCacheNodeId()
The unique identifier for the reservation.
public final String reservedCacheNodesOfferingId()
The offering identifier.
public final 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:
M6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward).
cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge,
cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge,
cache.m6g.16xlarge
For region availability, see Supported Node Types
M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge,
cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge
M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge,
cache.m4.4xlarge, cache.m4.10xlarge
T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium
T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium
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
M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge,
cache.m3.2xlarge
Compute optimized:
Previous generation: (not recommended)
C1 node types: cache.c1.xlarge
Memory optimized:
Current generation:
R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward).
cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge,
cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge,
cache.r6g.16xlarge
For region availability, see Supported Node Types
R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge,
cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge
R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge,
cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge
Previous generation: (not recommended)
M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge
R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge,
cache.r3.4xlarge, cache.r3.8xlarge
Additional node type info
All current generation instance types are created in Amazon VPC by default.
Redis append-only files (AOF) are not supported for T1 or T2 instances.
Redis Multi-AZ with automatic failover is not supported on T1 instances.
Redis configuration variables appendonly and appendfsync are not supported on Redis
version 2.8.22 and later.
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:
M6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward).
cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge,
cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge,
cache.m6g.16xlarge
For region availability, see Supported Node Types
M5 node types: cache.m5.large, cache.m5.xlarge,
cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge,
cache.m5.24xlarge
M4 node types: cache.m4.large, cache.m4.xlarge,
cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge
T3 node types: cache.t3.micro, cache.t3.small,
cache.t3.medium
T2 node types: cache.t2.micro, cache.t2.small,
cache.t2.medium
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
M3 node types: cache.m3.medium, cache.m3.large,
cache.m3.xlarge, cache.m3.2xlarge
Compute optimized:
Previous generation: (not recommended)
C1 node types: cache.c1.xlarge
Memory optimized:
Current generation:
R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward).
cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge,
cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge,
cache.r6g.16xlarge
For region availability, see Supported Node Types
R5 node types: cache.r5.large, cache.r5.xlarge,
cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge,
cache.r5.24xlarge
R4 node types: cache.r4.large, cache.r4.xlarge,
cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge,
cache.r4.16xlarge
Previous generation: (not recommended)
M2 node types: cache.m2.xlarge, cache.m2.2xlarge,
cache.m2.4xlarge
R3 node types: cache.r3.large, cache.r3.xlarge,
cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge
Additional node type info
All current generation instance types are created in Amazon VPC by default.
Redis append-only files (AOF) are not supported for T1 or T2 instances.
Redis Multi-AZ with automatic failover is not supported on T1 instances.
Redis configuration variables appendonly and appendfsync are not supported on
Redis version 2.8.22 and later.
public final Instant startTime()
The time the reservation started.
public final Integer duration()
The duration of the reservation in seconds.
public final Double fixedPrice()
The fixed price charged for this reserved cache node.
public final Double usagePrice()
The hourly price charged for this reserved cache node.
public final Integer cacheNodeCount()
The number of cache nodes that have been reserved.
public final String productDescription()
The description of the reserved cache node.
public final String offeringType()
The offering type of this reserved cache node.
public final String state()
The state of the reserved cache node.
public final boolean hasRecurringCharges()
public final 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.
You can use hasRecurringCharges() to see if a value was sent in this field.
public final String reservationARN()
The Amazon Resource Name (ARN) of the reserved cache node.
Example: arn:aws:elasticache:us-east-1:123456789012:reserved-instance:ri-2017-03-27-08-33-25-582
Example:
arn:aws:elasticache:us-east-1:123456789012:reserved-instance:ri-2017-03-27-08-33-25-582
public ReservedCacheNode.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReservedCacheNode.Builder,ReservedCacheNode>public static ReservedCacheNode.Builder builder()
public static Class<? extends ReservedCacheNode.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.