func (b *IngressApplyConfiguration) WithUID(value types.UID) *IngressApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.UID = &value
	return b
}
WithUID sets the UID field in the declarative configuration to the given value
and returns the receiver, so that objects can be built by chaining "With" function invocations.
If called multiple times, the UID field is set to the value of the last call.
package v1beta1
import (
	extensionsv1beta1 "k8s.io/api/extensions/v1beta1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	managedfields "k8s.io/apimachinery/pkg/util/managedfields"
	internal "k8s.io/client-go/applyconfigurations/internal"
	v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
type IngressApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *IngressSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *IngressStatusApplyConfiguration `json:"status,omitempty"`
}
func Ingress(name, namespace string) *IngressApplyConfiguration {
	b := &IngressApplyConfiguration{}
	b.WithName(name)
	b.WithNamespace(namespace)
	b.WithKind("Ingress")
	b.WithAPIVersion("extensions/v1beta1")
	return b
}
func ExtractIngress(ingress *extensionsv1beta1.Ingress, fieldManager string) (*IngressApplyConfiguration, error) {
	return extractIngress(ingress, fieldManager, "")
}
func ExtractIngressStatus(ingress *extensionsv1beta1.Ingress, fieldManager string) (*IngressApplyConfiguration, error) {
	return extractIngress(ingress, fieldManager, "status")
}
func extractIngress(ingress *extensionsv1beta1.Ingress, fieldManager string, subresource string) (*IngressApplyConfiguration, error) {
	b := &IngressApplyConfiguration{}
	err := managedfields.ExtractInto(ingress, internal.Parser().Type("io.k8s.api.extensions.v1beta1.Ingress"), fieldManager, b, subresource)
	if err != nil {
		return nil, err
	}
	b.WithName(ingress.Name)
	b.WithNamespace(ingress.Namespace)
	b.WithKind("Ingress")
	b.WithAPIVersion("extensions/v1beta1")
	return b, nil
}
func (b *IngressApplyConfiguration) WithKind(value string) *IngressApplyConfiguration {
	b.Kind = &value
	return b
}
func (b *IngressApplyConfiguration) WithAPIVersion(value string) *IngressApplyConfiguration {
	b.APIVersion = &value
	return b
}
func (b *IngressApplyConfiguration) WithName(value string) *IngressApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.Name = &value
	return b
}
func (b *IngressApplyConfiguration) WithGenerateName(value string) *IngressApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.GenerateName = &value
	return b
}
func (b *IngressApplyConfiguration) WithNamespace(value string) *IngressApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.Namespace = &value
	return b
}
func (b *IngressApplyConfiguration) WithSelfLink(value string) *IngressApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.SelfLink = &value
	return b
}