Class CfnPlan.LambdaUngracefulProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.LambdaUngracefulProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.LambdaUngracefulProperty>
- Enclosing interface:
CfnPlan.LambdaUngracefulProperty
@Stability(Stable)
public static final class CfnPlan.LambdaUngracefulProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.LambdaUngracefulProperty>
A builder for
CfnPlan.LambdaUngracefulProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPlan.LambdaUngracefulProperty.getBehavior()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
behavior
Sets the value ofCfnPlan.LambdaUngracefulProperty.getBehavior()
- Parameters:
behavior
- The ungraceful behavior for a Lambda function, which must be set toskip
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlan.LambdaUngracefulProperty>
- Returns:
- a new instance of
CfnPlan.LambdaUngracefulProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-