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