Class DefaultBootstrapRolesOptions.Builder
java.lang.Object
software.amazon.awscdk.app.staging.synthesizer.alpha.DefaultBootstrapRolesOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DefaultBootstrapRolesOptions>
- Enclosing interface:
DefaultBootstrapRolesOptions
@Stability(Experimental)
public static final class DefaultBootstrapRolesOptions.Builder
extends Object
implements software.amazon.jsii.Builder<DefaultBootstrapRolesOptions>
A builder for
DefaultBootstrapRolesOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbootstrapRegion
(String bootstrapRegion) Sets the value ofDefaultBootstrapRolesOptions.getBootstrapRegion()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bootstrapRegion
@Stability(Experimental) public DefaultBootstrapRolesOptions.Builder bootstrapRegion(String bootstrapRegion) Sets the value ofDefaultBootstrapRolesOptions.getBootstrapRegion()
- Parameters:
bootstrapRegion
- The region where the default bootstrap roles have been created. By default, the region in which the stack is deployed is used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DefaultBootstrapRolesOptions>
- Returns:
- a new instance of
DefaultBootstrapRolesOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-