public Cluster withAuthType(Auth authType) {
        this.authType = authType.toString();
        return this;
    }
<p>
The authentication type for the elastic cluster.
</p>

@param authType
       The authentication type for the elastic cluster.
@return Returns a reference to this object so that method calls can be chained together.
@see Auth
aws-java-sdk-docdbelastic/src/main/java/com/amazonaws/services/docdbelastic/model/Cluster.java