public Builder serving(@Nullable Output<Boolean> serving) {
            $.serving = serving;
            return this;
        }
@param serving serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition. This field can be enabled with the EndpointSliceTerminatingCondition feature gate.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1beta1/inputs/EndpointConditionsPatchArgs.java