Package org.cdk8s.plus28.k8s
Class LimitResponseV1Beta3.Builder
- java.lang.Object
-
- org.cdk8s.plus28.k8s.LimitResponseV1Beta3.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LimitResponseV1Beta3>
- Enclosing interface:
- LimitResponseV1Beta3
@Stability(Stable) public static final class LimitResponseV1Beta3.Builder extends Object implements software.amazon.jsii.Builder<LimitResponseV1Beta3>
A builder forLimitResponseV1Beta3
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LimitResponseV1Beta3build()Builds the configured instance.LimitResponseV1Beta3.Builderqueuing(QueuingConfigurationV1Beta3 queuing)Sets the value ofLimitResponseV1Beta3.getQueuing()LimitResponseV1Beta3.Buildertype(String type)Sets the value ofLimitResponseV1Beta3.getType()
-
-
-
Method Detail
-
type
@Stability(Stable) public LimitResponseV1Beta3.Builder type(String type)
Sets the value ofLimitResponseV1Beta3.getType()- Parameters:
type-typeis "Queue" or "Reject". This parameter is required. "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
-
queuing
@Stability(Stable) public LimitResponseV1Beta3.Builder queuing(QueuingConfigurationV1Beta3 queuing)
Sets the value ofLimitResponseV1Beta3.getQueuing()- Parameters:
queuing-queuingholds the configuration parameters for queuing. This field may be non-empty only iftypeis"Queue".- Returns:
this
-
build
@Stability(Stable) public LimitResponseV1Beta3 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LimitResponseV1Beta3>- Returns:
- a new instance of
LimitResponseV1Beta3 - Throws:
NullPointerException- if any required attribute was not provided
-
-