io.k8s.api.core.v1.LocalObjectReference Maven / Gradle / Ivy
package io.k8s.api.core.v1;
import java.lang.String;
/**
* LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
*/
public class LocalObjectReference {
public String name;
/**
* Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
*/
public LocalObjectReference name(String name) {
this.name = name;
return this;
}
public static LocalObjectReference localObjectReference() {
return new LocalObjectReference();
}
}