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

io.k8s.api.resource.v1alpha2.ResourceClassParametersReference Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.api.resource.v1alpha2;

import java.lang.String;

/**
 * ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
 */
public class ResourceClassParametersReference {
  public String apiGroup;

  public String kind;

  public String name;

  public String namespace;

  /**
   * APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
   */
  public ResourceClassParametersReference apiGroup(String apiGroup) {
    this.apiGroup = apiGroup;
    return this;
  }

  /**
   * Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.
   */
  public ResourceClassParametersReference kind(String kind) {
    this.kind = kind;
    return this;
  }

  /**
   * Name is the name of resource being referenced.
   */
  public ResourceClassParametersReference name(String name) {
    this.name = name;
    return this;
  }

  /**
   * Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.
   */
  public ResourceClassParametersReference namespace(String namespace) {
    this.namespace = namespace;
    return this;
  }

  public static ResourceClassParametersReference resourceClassParametersReference() {
    return new ResourceClassParametersReference();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy