Class CfnPlan.LambdasProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.LambdasProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.LambdasProperty>
- Enclosing interface:
CfnPlan.LambdasProperty
@Stability(Stable)
public static final class CfnPlan.LambdasProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.LambdasProperty>
A builder for
CfnPlan.LambdasProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPlan.LambdasProperty.getArn()build()Builds the configured instance.crossAccountRole(String crossAccountRole) Sets the value ofCfnPlan.LambdasProperty.getCrossAccountRole()externalId(String externalId) Sets the value ofCfnPlan.LambdasProperty.getExternalId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnPlan.LambdasProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the Lambda function.- Returns:
this
-
crossAccountRole
Sets the value ofCfnPlan.LambdasProperty.getCrossAccountRole()- Parameters:
crossAccountRole- The cross account role for the configuration.- Returns:
this
-
externalId
Sets the value ofCfnPlan.LambdasProperty.getExternalId()- Parameters:
externalId- The external ID (secret key) for the configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlan.LambdasProperty>- Returns:
- a new instance of
CfnPlan.LambdasProperty - Throws:
NullPointerException- if any required attribute was not provided
-