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