public void setIsWriter(Boolean isWriter) {
        this.isWriter = isWriter;
    }
<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.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/GlobalClusterMember.java