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

package v1

import (
	configv1 "github.com/openshift/api/config/v1"
)

// GatherersApplyConfiguration represents a declarative configuration of the Gatherers type for use
// with apply.
type GatherersApplyConfiguration struct {
	Mode   *configv1.GatheringMode   `json:"mode,omitempty"`
	Custom *CustomApplyConfiguration `json:"custom,omitempty"`
}

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

// 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 *GatherersApplyConfiguration) WithMode(value configv1.GatheringMode) *GatherersApplyConfiguration {
	b.Mode = &value
	return b
}

// WithCustom sets the Custom 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 Custom field is set to the value of the last call.
func (b *GatherersApplyConfiguration) WithCustom(value *CustomApplyConfiguration) *GatherersApplyConfiguration {
	b.Custom = value
	return b
}
