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