public Optional<Output<Boolean>> readOnly() {
        return Optional.ofNullable(this.readOnly);
    }
@return readOnly Will force the ReadOnly setting in VolumeMounts. Default false.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/PersistentVolumeClaimVolumeSourceArgs.java