public Optional<Output<Boolean>> readOnly() {
        return Optional.ofNullable(this.readOnly);
    }
@return readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/CSIVolumeSourcePatchArgs.java