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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFunction.RequestParameterProperty.getCaching()
caching
(IResolvable caching) Sets the value ofCfnFunction.RequestParameterProperty.getCaching()
Sets the value ofCfnFunction.RequestParameterProperty.getRequired()
required
(IResolvable required) Sets the value ofCfnFunction.RequestParameterProperty.getRequired()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
caching
Sets the value ofCfnFunction.RequestParameterProperty.getCaching()
- Parameters:
caching
- the value to be set.- Returns:
this
-
caching
Sets the value ofCfnFunction.RequestParameterProperty.getCaching()
- Parameters:
caching
- the value to be set.- Returns:
this
-
required
Sets the value ofCfnFunction.RequestParameterProperty.getRequired()
- Parameters:
required
- the value to be set.- Returns:
this
-
required
@Stability(Stable) public CfnFunction.RequestParameterProperty.Builder required(IResolvable required) Sets the value ofCfnFunction.RequestParameterProperty.getRequired()
- Parameters:
required
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.RequestParameterProperty>
- Returns:
- a new instance of
CfnFunction.RequestParameterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-