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

package v1

// VaultConfigMapReferenceApplyConfiguration represents a declarative configuration of the VaultConfigMapReference type for use
// with apply.
//
// VaultConfigMapReference references a ConfigMap in the openshift-config namespace.
type VaultConfigMapReferenceApplyConfiguration struct {
	// name is the metadata.name of the referenced ConfigMap in the openshift-config namespace.
	// The name must be a valid DNS subdomain name: it must contain no more than 253 characters,
	// contain only lowercase alphanumeric characters, '-' or '.', and start and end with an alphanumeric character.
	Name *string `json:"name,omitempty"`
}

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

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