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

io.k8s.api.flowcontrol.v1beta3.LimitResponse Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
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();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy