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