Package org.cdk8s.plus25.k8s
Class FlowDistinguisherMethodV1Beta1.Builder
- java.lang.Object
-
- org.cdk8s.plus25.k8s.FlowDistinguisherMethodV1Beta1.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<FlowDistinguisherMethodV1Beta1>
- Enclosing interface:
- FlowDistinguisherMethodV1Beta1
@Stability(Stable) public static final class FlowDistinguisherMethodV1Beta1.Builder extends Object implements software.amazon.jsii.Builder<FlowDistinguisherMethodV1Beta1>
A builder forFlowDistinguisherMethodV1Beta1
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowDistinguisherMethodV1Beta1build()Builds the configured instance.FlowDistinguisherMethodV1Beta1.Buildertype(String type)Sets the value ofFlowDistinguisherMethodV1Beta1.getType()
-
-
-
Method Detail
-
type
@Stability(Stable) public FlowDistinguisherMethodV1Beta1.Builder type(String type)
Sets the value ofFlowDistinguisherMethodV1Beta1.getType()- Parameters:
type-typeis the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". This parameter is required. Required.- Returns:
this
-
build
@Stability(Stable) public FlowDistinguisherMethodV1Beta1 build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FlowDistinguisherMethodV1Beta1>- Returns:
- a new instance of
FlowDistinguisherMethodV1Beta1 - Throws:
NullPointerException- if any required attribute was not provided
-
-