Package software.amazon.awscdk
Class BootstraplessSynthesizerProps.Builder
java.lang.Object
software.amazon.awscdk.BootstraplessSynthesizerProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BootstraplessSynthesizerProps>
- Enclosing interface:
BootstraplessSynthesizerProps
@Stability(Stable)
public static final class BootstraplessSynthesizerProps.Builder
extends Object
implements software.amazon.jsii.Builder<BootstraplessSynthesizerProps>
A builder for
BootstraplessSynthesizerProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudFormationExecutionRoleArn
(String cloudFormationExecutionRoleArn) Sets the value ofBootstraplessSynthesizerProps.getCloudFormationExecutionRoleArn()
deployRoleArn
(String deployRoleArn) Sets the value ofBootstraplessSynthesizerProps.getDeployRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudFormationExecutionRoleArn
@Stability(Stable) public BootstraplessSynthesizerProps.Builder cloudFormationExecutionRoleArn(String cloudFormationExecutionRoleArn) Sets the value ofBootstraplessSynthesizerProps.getCloudFormationExecutionRoleArn()
- Parameters:
cloudFormationExecutionRoleArn
- The CFN execution Role ARN to use.- Returns:
this
-
deployRoleArn
Sets the value ofBootstraplessSynthesizerProps.getDeployRoleArn()
- Parameters:
deployRoleArn
- The deploy Role ARN to use.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BootstraplessSynthesizerProps>
- Returns:
- a new instance of
BootstraplessSynthesizerProps
- Throws:
NullPointerException
- if any required attribute was not provided
-