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

package v1

import (
	operatorv1 "github.com/openshift/api/operator/v1"
)

// BootImageSkewEnforcementConfigApplyConfiguration represents a declarative configuration of the BootImageSkewEnforcementConfig type for use
// with apply.
type BootImageSkewEnforcementConfigApplyConfiguration struct {
	Mode   *operatorv1.BootImageSkewEnforcementConfigMode `json:"mode,omitempty"`
	Manual *ClusterBootImageManualApplyConfiguration      `json:"manual,omitempty"`
}

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

// WithMode sets the Mode 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 Mode field is set to the value of the last call.
func (b *BootImageSkewEnforcementConfigApplyConfiguration) WithMode(value operatorv1.BootImageSkewEnforcementConfigMode) *BootImageSkewEnforcementConfigApplyConfiguration {
	b.Mode = &value
	return b
}

// WithManual sets the Manual 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 Manual field is set to the value of the last call.
func (b *BootImageSkewEnforcementConfigApplyConfiguration) WithManual(value *ClusterBootImageManualApplyConfiguration) *BootImageSkewEnforcementConfigApplyConfiguration {
	b.Manual = value
	return b
}
