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

package v1

// ProxyStatusApplyConfiguration represents a declarative configuration of the ProxyStatus type for use
// with apply.
//
// ProxyStatus shows current known state of the cluster proxy.
type ProxyStatusApplyConfiguration struct {
	// httpProxy is the URL of the proxy for HTTP requests.
	HTTPProxy *string `json:"httpProxy,omitempty"`
	// httpsProxy is the URL of the proxy for HTTPS requests.
	HTTPSProxy *string `json:"httpsProxy,omitempty"`
	// noProxy is a comma-separated list of hostnames and/or CIDRs for which the proxy should not be used.
	NoProxy *string `json:"noProxy,omitempty"`
}

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

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

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

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