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