io.k8s.api.resource.v1alpha2.NamedResourcesInstance Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
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();
}
}