// Code generated by applyconfiguration-gen. DO NOT EDIT.

package v1

// LoadBalancerApplyConfiguration represents a declarative configuration of the LoadBalancer type for use
// with apply.
type LoadBalancerApplyConfiguration struct {
	// platform holds configuration specific to the underlying
	// infrastructure provider for the ingress load balancers.
	// When omitted, this means the user has no opinion and the platform is left
	// to choose reasonable defaults. These defaults are subject to change over time.
	Platform *IngressPlatformSpecApplyConfiguration `json:"platform,omitempty"`
}

// LoadBalancerApplyConfiguration constructs a declarative configuration of the LoadBalancer type for use with
// apply.
func LoadBalancer() *LoadBalancerApplyConfiguration {
	return &LoadBalancerApplyConfiguration{}
}

// WithPlatform sets the Platform 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 Platform field is set to the value of the last call.
func (b *LoadBalancerApplyConfiguration) WithPlatform(value *IngressPlatformSpecApplyConfiguration) *LoadBalancerApplyConfiguration {
	b.Platform = value
	return b
}
