public Optional<Output<PodFailurePolicyOnExitCodesRequirementArgs>> onExitCodes() {
        return Optional.ofNullable(this.onExitCodes);
    }
@return Represents the requirement on the container exit codes.
sdk/java/src/main/java/com/pulumi/kubernetes/batch/v1/inputs/PodFailurePolicyRuleArgs.java