public CreateClusterRequest withClusterName(String clusterName) {
        setClusterName(clusterName);
        return this;
    }
<p>
The cluster identifier. This parameter is stored as a lowercase string.
</p>
<p>
<b>Constraints:</b>
</p>
<ul>
<li>
<p>
A name must contain from 1 to 20 alphanumeric characters or hyphens.
</p>
</li>
<li>
<p>
The first character must be a letter.
</p>
</li>
<li>
<p>
A name cannot end with a hyphen or contain two consecutive hyphens.
</p>
</li>
</ul>

@param clusterName
       The cluster identifier. This parameter is stored as a lowercase string.</p>
       <p>
       <b>Constraints:</b>
       </p>
       <ul>
       <li>
       <p>
       A name must contain from 1 to 20 alphanumeric characters or hyphens.
       </p>
       </li>
       <li>
       <p>
       The first character must be a letter.
       </p>
       </li>
       <li>
       <p>
       A name cannot end with a hyphen or contain two consecutive hyphens.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dax/src/main/java/com/amazonaws/services/dax/model/CreateClusterRequest.java