public void setMode(String mode) {
        this.mode = mode;
    }
<p>
The mode of the cluster.
</p>

@param mode
       The mode of the cluster.
@see ClusterMode
aws-java-sdk-cloudhsmv2/src/main/java/com/amazonaws/services/cloudhsmv2/model/Cluster.java