Class CfnFunctionPropsMixin.HttpApiEventProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.HttpApiEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpApiEventProperty>
- Enclosing interface:
CfnFunctionPropsMixin.HttpApiEventProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.HttpApiEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpApiEventProperty>
A builder for
CfnFunctionPropsMixin.HttpApiEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getApiId()Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getAuth()auth(IResolvable auth) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getAuth()build()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getMethod()Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getPath()payloadFormatVersion(String payloadFormatVersion) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getPayloadFormatVersion()routeSettings(CfnFunctionPropsMixin.RouteSettingsProperty routeSettings) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getRouteSettings()routeSettings(IResolvable routeSettings) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getRouteSettings()timeoutInMillis(Number timeoutInMillis) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getTimeoutInMillis()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getApiId()- Parameters:
apiId- the value to be set.- Returns:
this
-
auth
Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getAuth()- Parameters:
auth- the value to be set.- Returns:
this
-
auth
@Stability(Stable) public CfnFunctionPropsMixin.HttpApiEventProperty.Builder auth(CfnFunctionPropsMixin.HttpApiFunctionAuthProperty auth) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getAuth()- Parameters:
auth- the value to be set.- Returns:
this
-
method
Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getMethod()- Parameters:
method- the value to be set.- Returns:
this
-
path
Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getPath()- Parameters:
path- the value to be set.- Returns:
this
-
payloadFormatVersion
@Stability(Stable) public CfnFunctionPropsMixin.HttpApiEventProperty.Builder payloadFormatVersion(String payloadFormatVersion) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getPayloadFormatVersion()- Parameters:
payloadFormatVersion- the value to be set.- Returns:
this
-
routeSettings
@Stability(Stable) public CfnFunctionPropsMixin.HttpApiEventProperty.Builder routeSettings(IResolvable routeSettings) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getRouteSettings()- Parameters:
routeSettings- the value to be set.- Returns:
this
-
routeSettings
@Stability(Stable) public CfnFunctionPropsMixin.HttpApiEventProperty.Builder routeSettings(CfnFunctionPropsMixin.RouteSettingsProperty routeSettings) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getRouteSettings()- Parameters:
routeSettings- the value to be set.- Returns:
this
-
timeoutInMillis
@Stability(Stable) public CfnFunctionPropsMixin.HttpApiEventProperty.Builder timeoutInMillis(Number timeoutInMillis) Sets the value ofCfnFunctionPropsMixin.HttpApiEventProperty.getTimeoutInMillis()- Parameters:
timeoutInMillis- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.HttpApiEventProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.HttpApiEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-