public Optional<String> failurePolicy() {
        return Optional.ofNullable(this.failurePolicy);
    }
@return FailurePolicy defines how to handle failures for the admission policy. Failures can occur from invalid or mis-configured policy definitions or bindings. A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource. Allowed values are Ignore or Fail. Defaults to Fail.
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1alpha1/outputs/ValidatingAdmissionPolicySpecPatch.java