public PersistentVolumeClaimVolumeSource build() {
            final var _resultValue = new PersistentVolumeClaimVolumeSource();
            _resultValue.claimName = claimName;
            _resultValue.readOnly = readOnly;
            return _resultValue;
        }
@return readOnly Will force the ReadOnly setting in VolumeMounts. Default false.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/PersistentVolumeClaimVolumeSource.java