Class CfnMailManagerRuleSet.InvokeLambdaActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.InvokeLambdaActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSet.InvokeLambdaActionProperty>
- Enclosing interface:
CfnMailManagerRuleSet.InvokeLambdaActionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSet.InvokeLambdaActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSet.InvokeLambdaActionProperty>
A builder for
CfnMailManagerRuleSet.InvokeLambdaActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy(String actionFailurePolicy) build()Builds the configured instance.functionArn(String functionArn) Sets the value ofCfnMailManagerRuleSet.InvokeLambdaActionProperty.getFunctionArn()invocationType(String invocationType) Sets the value ofCfnMailManagerRuleSet.InvokeLambdaActionProperty.getInvocationType()retryTimeMinutes(Number retryTimeMinutes) Sets the value ofCfnMailManagerRuleSet.InvokeLambdaActionProperty.getRetryTimeMinutes()Sets the value ofCfnMailManagerRuleSet.InvokeLambdaActionProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionArn
@Stability(Stable) public CfnMailManagerRuleSet.InvokeLambdaActionProperty.Builder functionArn(String functionArn) Sets the value ofCfnMailManagerRuleSet.InvokeLambdaActionProperty.getFunctionArn()- Parameters:
functionArn- the value to be set. This parameter is required.- Returns:
this
-
invocationType
@Stability(Stable) public CfnMailManagerRuleSet.InvokeLambdaActionProperty.Builder invocationType(String invocationType) Sets the value ofCfnMailManagerRuleSet.InvokeLambdaActionProperty.getInvocationType()- Parameters:
invocationType- the value to be set. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public CfnMailManagerRuleSet.InvokeLambdaActionProperty.Builder roleArn(String roleArn) Sets the value ofCfnMailManagerRuleSet.InvokeLambdaActionProperty.getRoleArn()- Parameters:
roleArn- the value to be set. This parameter is required.- Returns:
this
-
actionFailurePolicy
@Stability(Stable) public CfnMailManagerRuleSet.InvokeLambdaActionProperty.Builder actionFailurePolicy(String actionFailurePolicy) - Parameters:
actionFailurePolicy- the value to be set.- Returns:
this
-
retryTimeMinutes
@Stability(Stable) public CfnMailManagerRuleSet.InvokeLambdaActionProperty.Builder retryTimeMinutes(Number retryTimeMinutes) Sets the value ofCfnMailManagerRuleSet.InvokeLambdaActionProperty.getRetryTimeMinutes()- Parameters:
retryTimeMinutes- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSet.InvokeLambdaActionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSet.InvokeLambdaActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-