public String getType() {
        return this.type;
    }
<p>
The cache instance type. Valid values are
</p>
<ul>
<li>
<p>
<code>SMALL</code>
</p>
</li>
<li>
<p>
<code>MEDIUM</code>
</p>
</li>
<li>
<p>
<code>LARGE</code>
</p>
</li>
<li>
<p>
<code>XLARGE</code>
</p>
</li>
<li>
<p>
<code>LARGE_2X</code>
</p>
</li>
<li>
<p>
<code>LARGE_4X</code>
</p>
</li>
<li>
<p>
<code>LARGE_8X</code> (not available in all regions)
</p>
</li>
<li>
<p>
<code>LARGE_12X</code>
</p>
</li>
</ul>
<p>
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the
generic identifiers above should be used.
</p>
<p>
The following legacy instance types are available, but their use is discouraged:
</p>
<ul>
<li>
<p>
<b>T2_SMALL</b>: A t2.small instance type.
</p>
</li>
<li>
<p>
<b>T2_MEDIUM</b>: A t2.medium instance type.
</p>
</li>
<li>
<p>
<b>R4_LARGE</b>: A r4.large instance type.
</p>
</li>
<li>
<p>
<b>R4_XLARGE</b>: A r4.xlarge instance type.
</p>
</li>
<li>
<p>
<b>R4_2XLARGE</b>: A r4.2xlarge instance type.
</p>
</li>
<li>
<p>
<b>R4_4XLARGE</b>: A r4.4xlarge instance type.
</p>
</li>
<li>
<p>
<b>R4_8XLARGE</b>: A r4.8xlarge instance type.
</p>
</li>
</ul>

@return The cache instance type. Valid values are </p>
        <ul>
        <li>
        <p>
        <code>SMALL</code>
        </p>
        </li>
        <li>
        <p>
        <code>MEDIUM</code>
        </p>
        </li>
        <li>
        <p>
        <code>LARGE</code>
        </p>
        </li>
        <li>
        <p>
        <code>XLARGE</code>
        </p>
        </li>
        <li>
        <p>
        <code>LARGE_2X</code>
        </p>
        </li>
        <li>
        <p>
        <code>LARGE_4X</code>
        </p>
        </li>
        <li>
        <p>
        <code>LARGE_8X</code> (not available in all regions)
        </p>
        </li>
        <li>
        <p>
        <code>LARGE_12X</code>
        </p>
        </li>
        </ul>
        <p>
        Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated,
        and the generic identifiers above should be used.
        </p>
        <p>
        The following legacy instance types are available, but their use is discouraged:
        </p>
        <ul>
        <li>
        <p>
        <b>T2_SMALL</b>: A t2.small instance type.
        </p>
        </li>
        <li>
        <p>
        <b>T2_MEDIUM</b>: A t2.medium instance type.
        </p>
        </li>
        <li>
        <p>
        <b>R4_LARGE</b>: A r4.large instance type.
        </p>
        </li>
        <li>
        <p>
        <b>R4_XLARGE</b>: A r4.xlarge instance type.
        </p>
        </li>
        <li>
        <p>
        <b>R4_2XLARGE</b>: A r4.2xlarge instance type.
        </p>
        </li>
        <li>
        <p>
        <b>R4_4XLARGE</b>: A r4.4xlarge instance type.
        </p>
        </li>
        <li>
        <p>
        <b>R4_8XLARGE</b>: A r4.8xlarge instance type.
        </p>
        </li>
@see ApiCacheType
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/ApiCache.java