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

package v1

// IPv4OVNKubernetesConfigApplyConfiguration represents a declarative configuration of the IPv4OVNKubernetesConfig type for use
// with apply.
type IPv4OVNKubernetesConfigApplyConfiguration struct {
	InternalTransitSwitchSubnet *string `json:"internalTransitSwitchSubnet,omitempty"`
	InternalJoinSubnet          *string `json:"internalJoinSubnet,omitempty"`
}

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

// WithInternalTransitSwitchSubnet sets the InternalTransitSwitchSubnet 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 InternalTransitSwitchSubnet field is set to the value of the last call.
func (b *IPv4OVNKubernetesConfigApplyConfiguration) WithInternalTransitSwitchSubnet(value string) *IPv4OVNKubernetesConfigApplyConfiguration {
	b.InternalTransitSwitchSubnet = &value
	return b
}

// WithInternalJoinSubnet sets the InternalJoinSubnet 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 InternalJoinSubnet field is set to the value of the last call.
func (b *IPv4OVNKubernetesConfigApplyConfiguration) WithInternalJoinSubnet(value string) *IPv4OVNKubernetesConfigApplyConfiguration {
	b.InternalJoinSubnet = &value
	return b
}
