public void setCacheNodeType(String cacheNodeType) {
        this.cacheNodeType = cacheNodeType;
    }
<p>
The cache node type for the reserved cache nodes.
</p>
<p>
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.
</p>
<ul>
<li>
<p>
General purpose:
</p>
<ul>
<li>
<p>
Current generation:
</p>
<p>
<b>M7g node types</b>: <code>cache.m7g.large</code>, <code>cache.m7g.xlarge</code>,
<code>cache.m7g.2xlarge</code>, <code>cache.m7g.4xlarge</code>, <code>cache.m7g.8xlarge</code>,
<code>cache.m7g.12xlarge</code>, <code>cache.m7g.16xlarge</code>
</p>
<note>
<p>
For region availability, see <a href=
"https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion"
>Supported Node Types</a>
</p>
</note>
<p>
<b>M6g node types</b> (available only for Redis OSS engine version 5.0.6 onward and for Memcached engine version
1.5.16 onward): <code>cache.m6g.large</code>, <code>cache.m6g.xlarge</code>, <code>cache.m6g.2xlarge</code>,
<code>cache.m6g.4xlarge</code>, <code>cache.m6g.8xlarge</code>, <code>cache.m6g.12xlarge</code>,
<code>cache.m6g.16xlarge</code>
</p>
<p>
<b>M5 node types:</b> <code>cache.m5.large</code>, <code>cache.m5.xlarge</code>, <code>cache.m5.2xlarge</code>,
<code>cache.m5.4xlarge</code>, <code>cache.m5.12xlarge</code>, <code>cache.m5.24xlarge</code>
</p>
<p>
<b>M4 node types:</b> <code>cache.m4.large</code>, <code>cache.m4.xlarge</code>, <code>cache.m4.2xlarge</code>,
<code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code>
</p>
<p>
<b>T4g node types</b> (available only for Redis OSS engine version 5.0.6 onward and Memcached engine version
1.5.16 onward): <code>cache.t4g.micro</code>, <code>cache.t4g.small</code>, <code>cache.t4g.medium</code>
</p>
<p>
<b>T3 node types:</b> <code>cache.t3.micro</code>, <code>cache.t3.small</code>, <code>cache.t3.medium</code>
</p>
<p>
<b>T2 node types:</b> <code>cache.t2.micro</code>, <code>cache.t2.small</code>, <code>cache.t2.medium</code>
</p>
</li>
<li>
<p>
Previous generation: (not recommended. Existing clusters are still supported but creation of new clusters is not
supported for these types.)
</p>
<p>
<b>T1 node types:</b> <code>cache.t1.micro</code>
</p>
<p>
<b>M1 node types:</b> <code>cache.m1.small</code>, <code>cache.m1.medium</code>, <code>cache.m1.large</code>,
<code>cache.m1.xlarge</code>
</p>
<p>
<b>M3 node types:</b> <code>cache.m3.medium</code>, <code>cache.m3.large</code>, <code>cache.m3.xlarge</code>,
<code>cache.m3.2xlarge</code>
</p>
</li>
</ul>
</li>
<li>
<p>
Compute optimized:
</p>
<ul>
<li>
<p>
Previous generation: (not recommended. Existing clusters are still supported but creation of new clusters is not
supported for these types.)
</p>
<p>
<b>C1 node types:</b> <code>cache.c1.xlarge</code>
</p>
</li>
</ul>
</li>
<li>
<p>
Memory optimized:
</p>
<ul>
<li>
<p>
Current generation:
</p>
<p>
<b>R7g node types</b>: <code>cache.r7g.large</code>, <code>cache.r7g.xlarge</code>,
<code>cache.r7g.2xlarge</code>, <code>cache.r7g.4xlarge</code>, <code>cache.r7g.8xlarge</code>,
<code>cache.r7g.12xlarge</code>, <code>cache.r7g.16xlarge</code>
</p>
<note>
<p>
For region availability, see <a href=
"https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion"
>Supported Node Types</a>
</p>
</note>
<p>
<b>R6g node types</b> (available only for Redis OSS engine version 5.0.6 onward and for Memcached engine version
1.5.16 onward): <code>cache.r6g.large</code>, <code>cache.r6g.xlarge</code>, <code>cache.r6g.2xlarge</code>,
<code>cache.r6g.4xlarge</code>, <code>cache.r6g.8xlarge</code>, <code>cache.r6g.12xlarge</code>,
<code>cache.r6g.16xlarge</code>
</p>
<p>
<b>R5 node types:</b> <code>cache.r5.large</code>, <code>cache.r5.xlarge</code>, <code>cache.r5.2xlarge</code>,
<code>cache.r5.4xlarge</code>, <code>cache.r5.12xlarge</code>, <code>cache.r5.24xlarge</code>
</p>
<p>
<b>R4 node types:</b> <code>cache.r4.large</code>, <code>cache.r4.xlarge</code>, <code>cache.r4.2xlarge</code>,
<code>cache.r4.4xlarge</code>, <code>cache.r4.8xlarge</code>, <code>cache.r4.16xlarge</code>
</p>
</li>
<li>
<p>
Previous generation: (not recommended. Existing clusters are still supported but creation of new clusters is not
supported for these types.)
</p>
<p>
<b>M2 node types:</b> <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>, <code>cache.m2.4xlarge</code>
</p>
<p>
<b>R3 node types:</b> <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>, <code>cache.r3.2xlarge</code>,
<code>cache.r3.4xlarge</code>, <code>cache.r3.8xlarge</code>
</p>
</li>
</ul>
</li>
</ul>
<p>
<b>Additional node type info</b>
</p>
<ul>
<li>
<p>
All current generation instance types are created in Amazon VPC by default.
</p>
</li>
<li>
<p>
Redis OSS append-only files (AOF) are not supported for T1 or T2 instances.
</p>
</li>
<li>
<p>
Redis OSS Multi-AZ with automatic failover is not supported on T1 instances.
</p>
</li>
<li>
<p>
Redis OSS configuration variables <code>appendonly</code> and <code>appendfsync</code> are not supported on Redis
OSS version 2.8.22 and later.
</p>
</li>
</ul>

@param cacheNodeType
       The cache node type for the reserved cache nodes.</p>
       <p>
       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.
       </p>
       <ul>
       <li>
       <p>
       General purpose:
       </p>
       <ul>
       <li>
       <p>
       Current generation:
       </p>
       <p>
       <b>M7g node types</b>: <code>cache.m7g.large</code>, <code>cache.m7g.xlarge</code>,
       <code>cache.m7g.2xlarge</code>, <code>cache.m7g.4xlarge</code>, <code>cache.m7g.8xlarge</code>,
       <code>cache.m7g.12xlarge</code>, <code>cache.m7g.16xlarge</code>
       </p>
       <note>
       <p>
       For region availability, see <a href=
       "https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion"
       >Supported Node Types</a>
       </p>
       </note>
       <p>
       <b>M6g node types</b> (available only for Redis OSS engine version 5.0.6 onward and for Memcached engine
       version 1.5.16 onward): <code>cache.m6g.large</code>, <code>cache.m6g.xlarge</code>,
       <code>cache.m6g.2xlarge</code>, <code>cache.m6g.4xlarge</code>, <code>cache.m6g.8xlarge</code>,
       <code>cache.m6g.12xlarge</code>, <code>cache.m6g.16xlarge</code>
       </p>
       <p>
       <b>M5 node types:</b> <code>cache.m5.large</code>, <code>cache.m5.xlarge</code>,
       <code>cache.m5.2xlarge</code>, <code>cache.m5.4xlarge</code>, <code>cache.m5.12xlarge</code>,
       <code>cache.m5.24xlarge</code>
       </p>
       <p>
       <b>M4 node types:</b> <code>cache.m4.large</code>, <code>cache.m4.xlarge</code>,
       <code>cache.m4.2xlarge</code>, <code>cache.m4.4xlarge</code>, <code>cache.m4.10xlarge</code>
       </p>
       <p>
       <b>T4g node types</b> (available only for Redis OSS engine version 5.0.6 onward and Memcached engine
       version 1.5.16 onward): <code>cache.t4g.micro</code>, <code>cache.t4g.small</code>,
       <code>cache.t4g.medium</code>
       </p>
       <p>
       <b>T3 node types:</b> <code>cache.t3.micro</code>, <code>cache.t3.small</code>,
       <code>cache.t3.medium</code>
       </p>
       <p>
       <b>T2 node types:</b> <code>cache.t2.micro</code>, <code>cache.t2.small</code>,
       <code>cache.t2.medium</code>
       </p>
       </li>
       <li>
       <p>
       Previous generation: (not recommended. Existing clusters are still supported but creation of new clusters
       is not supported for these types.)
       </p>
       <p>
       <b>T1 node types:</b> <code>cache.t1.micro</code>
       </p>
       <p>
       <b>M1 node types:</b> <code>cache.m1.small</code>, <code>cache.m1.medium</code>,
       <code>cache.m1.large</code>, <code>cache.m1.xlarge</code>
       </p>
       <p>
       <b>M3 node types:</b> <code>cache.m3.medium</code>, <code>cache.m3.large</code>,
       <code>cache.m3.xlarge</code>, <code>cache.m3.2xlarge</code>
       </p>
       </li>
       </ul>
       </li>
       <li>
       <p>
       Compute optimized:
       </p>
       <ul>
       <li>
       <p>
       Previous generation: (not recommended. Existing clusters are still supported but creation of new clusters
       is not supported for these types.)
       </p>
       <p>
       <b>C1 node types:</b> <code>cache.c1.xlarge</code>
       </p>
       </li>
       </ul>
       </li>
       <li>
       <p>
       Memory optimized:
       </p>
       <ul>
       <li>
       <p>
       Current generation:
       </p>
       <p>
       <b>R7g node types</b>: <code>cache.r7g.large</code>, <code>cache.r7g.xlarge</code>,
       <code>cache.r7g.2xlarge</code>, <code>cache.r7g.4xlarge</code>, <code>cache.r7g.8xlarge</code>,
       <code>cache.r7g.12xlarge</code>, <code>cache.r7g.16xlarge</code>
       </p>
       <note>
       <p>
       For region availability, see <a href=
       "https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion"
       >Supported Node Types</a>
       </p>
       </note>
       <p>
       <b>R6g node types</b> (available only for Redis OSS engine version 5.0.6 onward and for Memcached engine
       version 1.5.16 onward): <code>cache.r6g.large</code>, <code>cache.r6g.xlarge</code>,
       <code>cache.r6g.2xlarge</code>, <code>cache.r6g.4xlarge</code>, <code>cache.r6g.8xlarge</code>,
       <code>cache.r6g.12xlarge</code>, <code>cache.r6g.16xlarge</code>
       </p>
       <p>
       <b>R5 node types:</b> <code>cache.r5.large</code>, <code>cache.r5.xlarge</code>,
       <code>cache.r5.2xlarge</code>, <code>cache.r5.4xlarge</code>, <code>cache.r5.12xlarge</code>,
       <code>cache.r5.24xlarge</code>
       </p>
       <p>
       <b>R4 node types:</b> <code>cache.r4.large</code>, <code>cache.r4.xlarge</code>,
       <code>cache.r4.2xlarge</code>, <code>cache.r4.4xlarge</code>, <code>cache.r4.8xlarge</code>,
       <code>cache.r4.16xlarge</code>
       </p>
       </li>
       <li>
       <p>
       Previous generation: (not recommended. Existing clusters are still supported but creation of new clusters
       is not supported for these types.)
       </p>
       <p>
       <b>M2 node types:</b> <code>cache.m2.xlarge</code>, <code>cache.m2.2xlarge</code>,
       <code>cache.m2.4xlarge</code>
       </p>
       <p>
       <b>R3 node types:</b> <code>cache.r3.large</code>, <code>cache.r3.xlarge</code>,
       <code>cache.r3.2xlarge</code>, <code>cache.r3.4xlarge</code>, <code>cache.r3.8xlarge</code>
       </p>
       </li>
       </ul>
       </li>
       </ul>
       <p>
       <b>Additional node type info</b>
       </p>
       <ul>
       <li>
       <p>
       All current generation instance types are created in Amazon VPC by default.
       </p>
       </li>
       <li>
       <p>
       Redis OSS append-only files (AOF) are not supported for T1 or T2 instances.
       </p>
       </li>
       <li>
       <p>
       Redis OSS Multi-AZ with automatic failover is not supported on T1 instances.
       </p>
       </li>
       <li>
       <p>
       Redis OSS configuration variables <code>appendonly</code> and <code>appendfsync</code> are not supported
       on Redis OSS version 2.8.22 and later.
       </p>
       </li>
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/ReservedCacheNode.java