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