public VolumeNodeAffinityPatch build() {
            final var _resultValue = new VolumeNodeAffinityPatch();
            _resultValue.required = required;
            return _resultValue;
        }
@return required specifies hard node constraints that must be met.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/VolumeNodeAffinityPatch.java