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

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

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

import java.lang.String;
import java.util.List;

/**
 * NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.
 */
public class NamedResourcesInstance {
  public List attributes;

  public String name;

  /**
   * Attributes defines the attributes of this resource instance. The name of each attribute must be unique.
   */
  public NamedResourcesInstance attributes(List attributes) {
    this.attributes = attributes;
    return this;
  }

  /**
   * Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.
   */
  public NamedResourcesInstance name(String name) {
    this.name = name;
    return this;
  }

  public static NamedResourcesInstance namedResourcesInstance() {
    return new NamedResourcesInstance();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy