io.k8s.api.networking.v1.HTTPIngressRuleValue Maven / Gradle / Ivy
package io.k8s.api.networking.v1;
import java.util.List;
/**
* HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
*/
public class HTTPIngressRuleValue {
public List paths;
/**
* paths is a collection of paths that map requests to backends.
*/
public HTTPIngressRuleValue paths(List paths) {
this.paths = paths;
return this;
}
public static HTTPIngressRuleValue hTTPIngressRuleValue() {
return new HTTPIngressRuleValue();
}
}