public AssociateDataShareConsumerRequest withAllowWrites(Boolean allowWrites) {
        setAllowWrites(allowWrites);
        return this;
    }
<p>
If set to true, allows write operations for a datashare.
</p>

@param allowWrites
       If set to true, allows write operations for a datashare.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/AssociateDataShareConsumerRequest.java