Class CfnRoute.ParameterConstraintsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnRoute.ParameterConstraintsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoute.ParameterConstraintsProperty>
- Enclosing interface:
CfnRoute.ParameterConstraintsProperty
@Stability(Stable)
public static final class CfnRoute.ParameterConstraintsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoute.ParameterConstraintsProperty>
A builder for
CfnRoute.ParameterConstraintsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRoute.ParameterConstraintsProperty.getRequired()required(IResolvable required) Sets the value ofCfnRoute.ParameterConstraintsProperty.getRequired()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
required
Sets the value ofCfnRoute.ParameterConstraintsProperty.getRequired()- Parameters:
required- the value to be set. This parameter is required.- Returns:
this
-
required
@Stability(Stable) public CfnRoute.ParameterConstraintsProperty.Builder required(IResolvable required) Sets the value ofCfnRoute.ParameterConstraintsProperty.getRequired()- Parameters:
required- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoute.ParameterConstraintsProperty>- Returns:
- a new instance of
CfnRoute.ParameterConstraintsProperty - Throws:
NullPointerException- if any required attribute was not provided
-