public Boolean isReadOnly() {
        return this.readOnly;
    }
<p>
If this value is <code>true</code>, the container has read-only access to the volume. Otherwise, the container
can write to the volume. The default value is <code>false</code>.
</p>

@return If this value is <code>true</code>, the container has read-only access to the volume. Otherwise, the
        container can write to the volume. The default value is <code>false</code>.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/MountPoint.java