public void setReadOnly(String readOnly) {
        this.readOnly = readOnly;
    }
<p>
Information about whether the event is a write event or a read event.
</p>

@param readOnly
       Information about whether the event is a write event or a read event.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/Event.java