public PodFailurePolicyRule build() {
            final var _resultValue = new PodFailurePolicyRule();
            _resultValue.action = action;
            _resultValue.onExitCodes = onExitCodes;
            _resultValue.onPodConditions = onPodConditions;
            return _resultValue;
        }
@return Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
sdk/java/src/main/java/com/pulumi/kubernetes/batch/v1/outputs/PodFailurePolicyRule.java