Class CfnFunctionPropsMixin.EventInvokeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.EventInvokeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.EventInvokeConfigProperty>
- Enclosing interface:
CfnFunctionPropsMixin.EventInvokeConfigProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.EventInvokeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.EventInvokeConfigProperty>
A builder for
CfnFunctionPropsMixin.EventInvokeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationConfig(CfnFunctionPropsMixin.EventInvokeDestinationConfigProperty destinationConfig) Sets the value ofCfnFunctionPropsMixin.EventInvokeConfigProperty.getDestinationConfig()destinationConfig(IResolvable destinationConfig) Sets the value ofCfnFunctionPropsMixin.EventInvokeConfigProperty.getDestinationConfig()maximumEventAgeInSeconds(Number maximumEventAgeInSeconds) maximumRetryAttempts(Number maximumRetryAttempts)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationConfig
@Stability(Stable) public CfnFunctionPropsMixin.EventInvokeConfigProperty.Builder destinationConfig(IResolvable destinationConfig) Sets the value ofCfnFunctionPropsMixin.EventInvokeConfigProperty.getDestinationConfig()- Parameters:
destinationConfig- the value to be set.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnFunctionPropsMixin.EventInvokeConfigProperty.Builder destinationConfig(CfnFunctionPropsMixin.EventInvokeDestinationConfigProperty destinationConfig) Sets the value ofCfnFunctionPropsMixin.EventInvokeConfigProperty.getDestinationConfig()- Parameters:
destinationConfig- the value to be set.- Returns:
this
-
maximumEventAgeInSeconds
@Stability(Stable) public CfnFunctionPropsMixin.EventInvokeConfigProperty.Builder maximumEventAgeInSeconds(Number maximumEventAgeInSeconds) - Parameters:
maximumEventAgeInSeconds- the value to be set.- Returns:
this
-
maximumRetryAttempts
@Stability(Stable) public CfnFunctionPropsMixin.EventInvokeConfigProperty.Builder maximumRetryAttempts(Number maximumRetryAttempts) - Parameters:
maximumRetryAttempts- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.EventInvokeConfigProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.EventInvokeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-