Class CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.LambdaEventSourceMappingConfigurationProperty>
- Enclosing interface:
CfnPlan.LambdaEventSourceMappingConfigurationProperty
@Stability(Stable)
public static final class CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.LambdaEventSourceMappingConfigurationProperty>
A builder for
CfnPlan.LambdaEventSourceMappingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPlan.LambdaEventSourceMappingConfigurationProperty.getAction()build()Builds the configured instance.regionEventSourceMappings(Map<String, ? extends Object> regionEventSourceMappings) regionEventSourceMappings(IResolvable regionEventSourceMappings) timeoutMinutes(Number timeoutMinutes) ungraceful(IResolvable ungraceful) Sets the value ofCfnPlan.LambdaEventSourceMappingConfigurationProperty.getUngraceful()Sets the value ofCfnPlan.LambdaEventSourceMappingConfigurationProperty.getUngraceful()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder action(String action) Sets the value ofCfnPlan.LambdaEventSourceMappingConfigurationProperty.getAction()- Parameters:
action- the value to be set. This parameter is required.- Returns:
this
-
regionEventSourceMappings
@Stability(Stable) public CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder regionEventSourceMappings(IResolvable regionEventSourceMappings) Sets the value ofCfnPlan.LambdaEventSourceMappingConfigurationProperty.getRegionEventSourceMappings()- Parameters:
regionEventSourceMappings- the value to be set. This parameter is required.- Returns:
this
-
regionEventSourceMappings
@Stability(Stable) public CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder regionEventSourceMappings(Map<String, ? extends Object> regionEventSourceMappings) Sets the value ofCfnPlan.LambdaEventSourceMappingConfigurationProperty.getRegionEventSourceMappings()- Parameters:
regionEventSourceMappings- the value to be set. This parameter is required.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder timeoutMinutes(Number timeoutMinutes) - Parameters:
timeoutMinutes- the value to be set.- Returns:
this
-
ungraceful
@Stability(Stable) public CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder ungraceful(IResolvable ungraceful) Sets the value ofCfnPlan.LambdaEventSourceMappingConfigurationProperty.getUngraceful()- Parameters:
ungraceful- the value to be set.- Returns:
this
-
ungraceful
@Stability(Stable) public CfnPlan.LambdaEventSourceMappingConfigurationProperty.Builder ungraceful(CfnPlan.LambdaEventSourceMappingUngracefulProperty ungraceful) Sets the value ofCfnPlan.LambdaEventSourceMappingConfigurationProperty.getUngraceful()- Parameters:
ungraceful- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlan.LambdaEventSourceMappingConfigurationProperty>- Returns:
- a new instance of
CfnPlan.LambdaEventSourceMappingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-