public CreateClusterRequest withClusterEndpointEncryptionType(String clusterEndpointEncryptionType) {
        setClusterEndpointEncryptionType(clusterEndpointEncryptionType);
        return this;
    }
<p>
The type of encryption the cluster's endpoint should support. Values are:
</p>
<ul>
<li>
<p>
<code>NONE</code> for no encryption
</p>
</li>
<li>
<p>
<code>TLS</code> for Transport Layer Security
</p>
</li>
</ul>

@param clusterEndpointEncryptionType
       The type of encryption the cluster's endpoint should support. Values are:</p>
       <ul>
       <li>
       <p>
       <code>NONE</code> for no encryption
       </p>
       </li>
       <li>
       <p>
       <code>TLS</code> for Transport Layer Security
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ClusterEndpointEncryptionType
aws-java-sdk-dax/src/main/java/com/amazonaws/services/dax/model/CreateClusterRequest.java