All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.autoscaling.v2.MetricIdentifier Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.api.autoscaling.v2;

import io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector;
import java.lang.String;

/**
 * MetricIdentifier defines the name and optionally selector for a metric
 */
public class MetricIdentifier {
  public String name;

  public LabelSelector selector;

  /**
   * name is the name of the given metric
   */
  public MetricIdentifier name(String name) {
    this.name = name;
    return this;
  }

  public MetricIdentifier selector(LabelSelector selector) {
    this.selector = selector;
    return this;
  }

  public static MetricIdentifier metricIdentifier() {
    return new MetricIdentifier();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy