Class BootstrapRoles.Builder
java.lang.Object
software.amazon.awscdk.app.staging.synthesizer.alpha.BootstrapRoles.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BootstrapRoles>
- Enclosing interface:
BootstrapRoles
@Stability(Experimental)
public static final class BootstrapRoles.Builder
extends Object
implements software.amazon.jsii.Builder<BootstrapRoles>
A builder for
BootstrapRoles-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudFormationExecutionRole(BootstrapRole cloudFormationExecutionRole) Sets the value ofBootstrapRoles.getCloudFormationExecutionRole()deploymentRole(BootstrapRole deploymentRole) Sets the value ofBootstrapRoles.getDeploymentRole()lookupRole(BootstrapRole lookupRole) Sets the value ofBootstrapRoles.getLookupRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudFormationExecutionRole
@Stability(Experimental) public BootstrapRoles.Builder cloudFormationExecutionRole(BootstrapRole cloudFormationExecutionRole) Sets the value ofBootstrapRoles.getCloudFormationExecutionRole()- Parameters:
cloudFormationExecutionRole- CloudFormation Execution Role.- Returns:
this
-
deploymentRole
Sets the value ofBootstrapRoles.getDeploymentRole()- Parameters:
deploymentRole- Deployment Action Role.- Returns:
this
-
lookupRole
Sets the value ofBootstrapRoles.getLookupRole()- Parameters:
lookupRole- Lookup Role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BootstrapRoles>- Returns:
- a new instance of
BootstrapRoles - Throws:
NullPointerException- if any required attribute was not provided
-