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

package v1

// EquinixMetalPlatformStatusApplyConfiguration represents a declarative configuration of the EquinixMetalPlatformStatus type for use
// with apply.
type EquinixMetalPlatformStatusApplyConfiguration struct {
	APIServerInternalIP *string `json:"apiServerInternalIP,omitempty"`
	IngressIP           *string `json:"ingressIP,omitempty"`
}

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

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

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