Class CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty>
- Enclosing interface:
CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty
@Stability(Stable)
public static final class CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.getLambdas()lambdas(IResolvable lambdas) Sets the value ofCfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.getLambdas()regionToRun(String regionToRun) retryIntervalMinutes(Number retryIntervalMinutes) timeoutMinutes(Number timeoutMinutes) ungraceful(CfnPlanPropsMixin.LambdaUngracefulProperty ungraceful) ungraceful(IResolvable ungraceful)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdas
@Stability(Stable) public CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder lambdas(IResolvable lambdas) Sets the value ofCfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.getLambdas()- Parameters:
lambdas- The AWS Lambda functions for the execution block.- Returns:
this
-
lambdas
@Stability(Stable) public CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder lambdas(List<? extends Object> lambdas) Sets the value ofCfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.getLambdas()- Parameters:
lambdas- The AWS Lambda functions for the execution block.- Returns:
this
-
regionToRun
@Stability(Stable) public CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder regionToRun(String regionToRun) - Parameters:
regionToRun- The AWS Region for the function to run in.- Returns:
this
-
retryIntervalMinutes
@Stability(Stable) public CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder retryIntervalMinutes(Number retryIntervalMinutes) Sets the value ofCfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.getRetryIntervalMinutes()- Parameters:
retryIntervalMinutes- The retry interval specified.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder timeoutMinutes(Number timeoutMinutes) - Parameters:
timeoutMinutes- The timeout value specified for the configuration.- Returns:
this
-
ungraceful
@Stability(Stable) public CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder ungraceful(IResolvable ungraceful) - Parameters:
ungraceful- The settings for ungraceful execution.- Returns:
this
-
ungraceful
@Stability(Stable) public CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty.Builder ungraceful(CfnPlanPropsMixin.LambdaUngracefulProperty ungraceful) - Parameters:
ungraceful- The settings for ungraceful execution.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty>- Returns:
- a new instance of
CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-