io.k8s.api.flowcontrol.v1beta3.LimitResponse 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.flowcontrol.v1beta3;
import java.lang.String;
/**
* LimitResponse defines how to handle requests that can not be executed right now.
*/
public class LimitResponse {
public QueuingConfiguration queuing;
public String type;
public LimitResponse queuing(QueuingConfiguration queuing) {
this.queuing = queuing;
return this;
}
/**
* `type` is "Queue" or "Reject". "Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.
*/
public LimitResponse type(String type) {
this.type = type;
return this;
}
public static LimitResponse limitResponse() {
return new LimitResponse();
}
}