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