public Optional<Boolean> readOnly() {
        return Optional.ofNullable(this.readOnly);
    }
@return readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/ISCSIVolumeSourcePatch.java