public Optional<Boolean> readOnly() {
        return Optional.ofNullable(this.readOnly);
    }
@return readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/RBDPersistentVolumeSourcePatch.java