Class AppStagingSynthesizerOptions.Builder
java.lang.Object
software.amazon.awscdk.app.staging.synthesizer.alpha.AppStagingSynthesizerOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppStagingSynthesizerOptions>
- Enclosing interface:
AppStagingSynthesizerOptions
@Stability(Experimental)
public static final class AppStagingSynthesizerOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AppStagingSynthesizerOptions>
A builder for
AppStagingSynthesizerOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbootstrapQualifier
(String bootstrapQualifier) Sets the value ofAppStagingSynthesizerOptions.getBootstrapQualifier()
build()
Builds the configured instance.deploymentIdentities
(DeploymentIdentities deploymentIdentities) Sets the value ofAppStagingSynthesizerOptions.getDeploymentIdentities()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bootstrapQualifier
@Stability(Experimental) public AppStagingSynthesizerOptions.Builder bootstrapQualifier(String bootstrapQualifier) Sets the value ofAppStagingSynthesizerOptions.getBootstrapQualifier()
- Parameters:
bootstrapQualifier
- Qualifier to disambiguate multiple bootstrapped environments in the same account. This qualifier is only used to reference bootstrapped resources. It will not be used in the creation of app-specific staging resources:appId
is used for that instead.- Returns:
this
-
deploymentIdentities
@Stability(Experimental) public AppStagingSynthesizerOptions.Builder deploymentIdentities(DeploymentIdentities deploymentIdentities) Sets the value ofAppStagingSynthesizerOptions.getDeploymentIdentities()
- Parameters:
deploymentIdentities
- What roles to use to deploy applications. These are the roles that have permissions to interact with CloudFormation on your behalf. By default these are the standard bootstrapped CDK roles, but you can customize them or turn them off and use the CLI credentials to deploy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AppStagingSynthesizerOptions>
- Returns:
- a new instance of
AppStagingSynthesizerOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-