public GlobalClusterMember withIsWriter(Boolean isWriter) {
        setIsWriter(isWriter);
        return this;
    }
<p>
Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for
the Amazon DocumentDB global cluster with which it is associated.
</p>

@param isWriter
       Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write
       capability) for the Amazon DocumentDB global cluster with which it is associated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/GlobalClusterMember.java