/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.elasticache.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Describes all of the attributes of a reserved cache node offering. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ReservedCacheNodesOffering implements Serializable, Cloneable { /** ** A unique identifier for the reserved cache node offering. *
*/ private String reservedCacheNodesOfferingId; /** ** 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: *
*
* 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
*
* T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16
* onward): cache.t4g.micro
, cache.t4g.small
, cache.t4g.medium
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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 duration of the offering. in seconds. *
*/ private Integer duration; /** ** The fixed price charged for this offering. *
*/ private Double fixedPrice; /** ** The hourly price charged for this offering. *
*/ private Double usagePrice; /** ** The cache engine used by the offering. *
*/ private String productDescription; /** ** The offering type. *
*/ private String offeringType; /** ** The recurring price charged to run this reserved cache node. *
*/ private com.amazonaws.internal.SdkInternalList* A unique identifier for the reserved cache node offering. *
* * @param reservedCacheNodesOfferingId * A unique identifier for the reserved cache node offering. */ public void setReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId) { this.reservedCacheNodesOfferingId = reservedCacheNodesOfferingId; } /** ** A unique identifier for the reserved cache node offering. *
* * @return A unique identifier for the reserved cache node offering. */ public String getReservedCacheNodesOfferingId() { return this.reservedCacheNodesOfferingId; } /** ** A unique identifier for the reserved cache node offering. *
* * @param reservedCacheNodesOfferingId * A unique identifier for the reserved cache node offering. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withReservedCacheNodesOfferingId(String reservedCacheNodesOfferingId) { setReservedCacheNodesOfferingId(reservedCacheNodesOfferingId); return this; } /** ** 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: *
*
* 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
*
* T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16
* onward): cache.t4g.micro
, cache.t4g.small
, cache.t4g.medium
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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
*
* T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version
* 1.5.16 onward): cache.t4g.micro
, cache.t4g.small
, cache.t4g.medium
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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 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: *
*
* 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
*
* T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16
* onward): cache.t4g.micro
, cache.t4g.small
, cache.t4g.medium
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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
*
* T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version
* 1.5.16 onward): cache.t4g.micro
, cache.t4g.small
, cache.t4g.medium
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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 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: *
*
* 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
*
* T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16
* onward): cache.t4g.micro
, cache.t4g.small
, cache.t4g.medium
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters is not * supported for these types.) *
*
* 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
*
* T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version
* 1.5.16 onward): cache.t4g.micro
, cache.t4g.small
, cache.t4g.medium
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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. Existing clusters are still supported but creation of new clusters * is not supported for these types.) *
*
* 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 duration of the offering. in seconds. *
* * @param duration * The duration of the offering. in seconds. */ public void setDuration(Integer duration) { this.duration = duration; } /** ** The duration of the offering. in seconds. *
* * @return The duration of the offering. in seconds. */ public Integer getDuration() { return this.duration; } /** ** The duration of the offering. in seconds. *
* * @param duration * The duration of the offering. in seconds. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withDuration(Integer duration) { setDuration(duration); return this; } /** ** The fixed price charged for this offering. *
* * @param fixedPrice * The fixed price charged for this offering. */ public void setFixedPrice(Double fixedPrice) { this.fixedPrice = fixedPrice; } /** ** The fixed price charged for this offering. *
* * @return The fixed price charged for this offering. */ public Double getFixedPrice() { return this.fixedPrice; } /** ** The fixed price charged for this offering. *
* * @param fixedPrice * The fixed price charged for this offering. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withFixedPrice(Double fixedPrice) { setFixedPrice(fixedPrice); return this; } /** ** The hourly price charged for this offering. *
* * @param usagePrice * The hourly price charged for this offering. */ public void setUsagePrice(Double usagePrice) { this.usagePrice = usagePrice; } /** ** The hourly price charged for this offering. *
* * @return The hourly price charged for this offering. */ public Double getUsagePrice() { return this.usagePrice; } /** ** The hourly price charged for this offering. *
* * @param usagePrice * The hourly price charged for this offering. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withUsagePrice(Double usagePrice) { setUsagePrice(usagePrice); return this; } /** ** The cache engine used by the offering. *
* * @param productDescription * The cache engine used by the offering. */ public void setProductDescription(String productDescription) { this.productDescription = productDescription; } /** ** The cache engine used by the offering. *
* * @return The cache engine used by the offering. */ public String getProductDescription() { return this.productDescription; } /** ** The cache engine used by the offering. *
* * @param productDescription * The cache engine used by the offering. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withProductDescription(String productDescription) { setProductDescription(productDescription); return this; } /** ** The offering type. *
* * @param offeringType * The offering type. */ public void setOfferingType(String offeringType) { this.offeringType = offeringType; } /** ** The offering type. *
* * @return The offering type. */ public String getOfferingType() { return this.offeringType; } /** ** The offering type. *
* * @param offeringType * The offering type. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withOfferingType(String offeringType) { setOfferingType(offeringType); return this; } /** ** The recurring price charged to run this reserved cache node. *
* * @return The recurring price charged to run this reserved cache node. */ public java.util.List* The recurring price charged to run this reserved cache node. *
* * @param recurringCharges * The recurring price charged to run this reserved cache node. */ public void setRecurringCharges(java.util.Collection* The recurring price charged to run this reserved cache node. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRecurringCharges(java.util.Collection)} or {@link #withRecurringCharges(java.util.Collection)} if you * want to override the existing values. *
* * @param recurringCharges * The recurring price charged to run this reserved cache node. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withRecurringCharges(RecurringCharge... recurringCharges) { if (this.recurringCharges == null) { setRecurringCharges(new com.amazonaws.internal.SdkInternalList* The recurring price charged to run this reserved cache node. *
* * @param recurringCharges * The recurring price charged to run this reserved cache node. * @return Returns a reference to this object so that method calls can be chained together. */ public ReservedCacheNodesOffering withRecurringCharges(java.util.Collection