public NodeSelectorRequirement build() {
            final var _resultValue = new NodeSelectorRequirement();
            _resultValue.key = key;
            _resultValue.operator = operator;
            _resultValue.values = values;
            return _resultValue;
        }
@return An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/NodeSelectorRequirement.java