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
-
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
-CfnFunction.EventInvokeConfigProperty.DestinationConfig
.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnFunction.EventInvokeConfigProperty.Builder destinationConfig(CfnFunction.EventInvokeDestinationConfigProperty destinationConfig) Sets the value ofCfnFunction.EventInvokeConfigProperty.getDestinationConfig()
- Parameters:
destinationConfig
-CfnFunction.EventInvokeConfigProperty.DestinationConfig
.- Returns:
this
-
maximumEventAgeInSeconds
@Stability(Stable) public CfnFunction.EventInvokeConfigProperty.Builder maximumEventAgeInSeconds(Number maximumEventAgeInSeconds) Sets the value ofCfnFunction.EventInvokeConfigProperty.getMaximumEventAgeInSeconds()
- Parameters:
maximumEventAgeInSeconds
-CfnFunction.EventInvokeConfigProperty.MaximumEventAgeInSeconds
.- Returns:
this
-
maximumRetryAttempts
@Stability(Stable) public CfnFunction.EventInvokeConfigProperty.Builder maximumRetryAttempts(Number maximumRetryAttempts) Sets the value ofCfnFunction.EventInvokeConfigProperty.getMaximumRetryAttempts()
- Parameters:
maximumRetryAttempts
-CfnFunction.EventInvokeConfigProperty.MaximumRetryAttempts
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.EventInvokeConfigProperty>
- Returns:
- a new instance of
CfnFunction.EventInvokeConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-