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