Class CfnFunctionPropsMixin.ApiEventProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.ApiEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.ApiEventProperty>
- Enclosing interface:
CfnFunctionPropsMixin.ApiEventProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.ApiEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.ApiEventProperty>
A builder for
CfnFunctionPropsMixin.ApiEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunctionPropsMixin.ApiEventProperty.getAuth()auth(IResolvable auth) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getAuth()build()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getMethod()Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getPath()requestModel(CfnFunctionPropsMixin.RequestModelProperty requestModel) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRequestModel()requestModel(IResolvable requestModel) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRequestModel()requestParameters(List<? extends Object> requestParameters) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRequestParameters()requestParameters(IResolvable requestParameters) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRequestParameters()Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRestApiId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
auth
Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getAuth()- Parameters:
auth- the value to be set.- Returns:
this
-
auth
@Stability(Stable) public CfnFunctionPropsMixin.ApiEventProperty.Builder auth(CfnFunctionPropsMixin.AuthProperty auth) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getAuth()- Parameters:
auth- the value to be set.- Returns:
this
-
method
Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getMethod()- Parameters:
method- the value to be set.- Returns:
this
-
path
Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getPath()- Parameters:
path- the value to be set.- Returns:
this
-
requestModel
@Stability(Stable) public CfnFunctionPropsMixin.ApiEventProperty.Builder requestModel(IResolvable requestModel) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRequestModel()- Parameters:
requestModel- the value to be set.- Returns:
this
-
requestModel
@Stability(Stable) public CfnFunctionPropsMixin.ApiEventProperty.Builder requestModel(CfnFunctionPropsMixin.RequestModelProperty requestModel) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRequestModel()- Parameters:
requestModel- the value to be set.- Returns:
this
-
requestParameters
@Stability(Stable) public CfnFunctionPropsMixin.ApiEventProperty.Builder requestParameters(IResolvable requestParameters) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRequestParameters()- Parameters:
requestParameters- the value to be set.- Returns:
this
-
requestParameters
@Stability(Stable) public CfnFunctionPropsMixin.ApiEventProperty.Builder requestParameters(List<? extends Object> requestParameters) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRequestParameters()- Parameters:
requestParameters- the value to be set.- Returns:
this
-
restApiId
@Stability(Stable) public CfnFunctionPropsMixin.ApiEventProperty.Builder restApiId(String restApiId) Sets the value ofCfnFunctionPropsMixin.ApiEventProperty.getRestApiId()- Parameters:
restApiId- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.ApiEventProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.ApiEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-