func (b *IngressSpecApplyConfiguration) WithTLS(values ...*IngressTLSApplyConfiguration) *IngressSpecApplyConfiguration {
	for i := range values {
		if values[i] == nil {
			panic("nil value passed to WithTLS")
		}
		b.TLS = append(b.TLS, *values[i])
	}
	return b
}
WithTLS adds the given value to the TLS field in the declarative configuration
and returns the receiver, so that objects can be build by chaining "With" function invocations.
If called multiple times, values provided by each call will be appended to the TLS field.
package v1beta1
type IngressSpecApplyConfiguration struct {
	IngressClassName *string                           `json:"ingressClassName,omitempty"`
	Backend          *IngressBackendApplyConfiguration `json:"backend,omitempty"`
	TLS              []IngressTLSApplyConfiguration    `json:"tls,omitempty"`
	Rules            []IngressRuleApplyConfiguration   `json:"rules,omitempty"`
}
func IngressSpec() *IngressSpecApplyConfiguration {
	return &IngressSpecApplyConfiguration{}
}
func (b *IngressSpecApplyConfiguration) WithIngressClassName(value string) *IngressSpecApplyConfiguration {
	b.IngressClassName = &value
	return b
}
func (b *IngressSpecApplyConfiguration) WithBackend(value *IngressBackendApplyConfiguration) *IngressSpecApplyConfiguration {
	b.Backend = value
	return b
}