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