func (b *ResourceMetricSourceApplyConfiguration) WithName(value v1.ResourceName) *ResourceMetricSourceApplyConfiguration {
	b.Name = &value
	return b
}
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.
package v2beta2
import (
	v1 "k8s.io/api/core/v1"
)
type ResourceMetricSourceApplyConfiguration struct {
	Name   *v1.ResourceName                `json:"name,omitempty"`
	Target *MetricTargetApplyConfiguration `json:"target,omitempty"`
}
func ResourceMetricSource() *ResourceMetricSourceApplyConfiguration {
	return &ResourceMetricSourceApplyConfiguration{}
}