Class LimitResponse.LimitResponseBuilder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.flowcontrol.v1alpha1.LimitResponse.LimitResponseBuilder
-
- Enclosing class:
- LimitResponse
public static class LimitResponse.LimitResponseBuilder extends java.lang.Object
-
-
Method Summary
Modifier and Type Method Description LimitResponse
build()
LimitResponse.LimitResponseBuilder
queuing(QueuingConfiguration queuing)
java.lang.String
toString()
LimitResponse.LimitResponseBuilder
type(@NonNull java.lang.String type)
`type` is "Queue" or "Reject".
-
-
-
Method Detail
-
queuing
public LimitResponse.LimitResponseBuilder queuing(QueuingConfiguration queuing)
-
type
public LimitResponse.LimitResponseBuilder type(@NonNull @NonNull java.lang.String type)
`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.- Returns:
this
.
-
build
public LimitResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-