func (b *Builder) WithAllowDenyList(l ksmtypes.AllowDenyLister) {
	b.internal.WithAllowDenyList(l)
}
WithAllowDenyList configures the allow or denylisted metric to be exposed
by the store build by the Builder.
package builder
import (
	"context"
	"github.com/prometheus/client_golang/prometheus"
	vpaclientset "k8s.io/autoscaler/vertical-pod-autoscaler/pkg/client/clientset/versioned"
	clientset "k8s.io/client-go/kubernetes"
	"k8s.io/client-go/tools/cache"
	internalstore "k8s.io/kube-state-metrics/v2/internal/store"
	ksmtypes "k8s.io/kube-state-metrics/v2/pkg/builder/types"
	metricsstore "k8s.io/kube-state-metrics/v2/pkg/metrics_store"
	"k8s.io/kube-state-metrics/v2/pkg/options"
)
type Builder struct {
	internal ksmtypes.BuilderInterface
}
func NewBuilder() *Builder {
	b := &Builder{
		internal: internalstore.NewBuilder(),
	}
	return b
}
func (b *Builder) WithMetrics(r prometheus.Registerer) {
	b.internal.WithMetrics(r)
}
func (b *Builder) WithEnabledResources(c []string) error {
	return b.internal.WithEnabledResources(c)
}
func (b *Builder) WithNamespaces(n options.NamespaceList, nsFilter string) {
	b.internal.WithNamespaces(n, nsFilter)
}
func (b *Builder) WithSharding(shard int32, totalShards int) {
	b.internal.WithSharding(shard, totalShards)
}
func (b *Builder) WithContext(ctx context.Context) {
	b.internal.WithContext(ctx)
}
func (b *Builder) WithKubeClient(c clientset.Interface) {
	b.internal.WithKubeClient(c)
}
func (b *Builder) WithVPAClient(c vpaclientset.Interface) {
	b.internal.WithVPAClient(c)
}