public RegisterClusterRequest withName(String name) {
        setName(name);
        return this;
    }
<p>
A unique name for this cluster in your Amazon Web Services Region.
</p>

@param name
       A unique name for this cluster in your Amazon Web Services Region.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/RegisterClusterRequest.java