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