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