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

io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.apimachinery.pkg.apis.meta.v1;

import java.lang.String;

/**
 * GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.
 */
public class GroupVersionForDiscovery {
  public String groupVersion;

  public String version;

  /**
   * groupVersion specifies the API group and version in the form "group/version"
   */
  public GroupVersionForDiscovery groupVersion(String groupVersion) {
    this.groupVersion = groupVersion;
    return this;
  }

  /**
   * version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.
   */
  public GroupVersionForDiscovery version(String version) {
    this.version = version;
    return this;
  }

  public static GroupVersionForDiscovery groupVersionForDiscovery() {
    return new GroupVersionForDiscovery();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy