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