Class StagingRoles.Builder
java.lang.Object
software.amazon.awscdk.app.staging.synthesizer.alpha.StagingRoles.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StagingRoles>
- Enclosing interface:
StagingRoles
@Stability(Experimental)
public static final class StagingRoles.Builder
extends Object
implements software.amazon.jsii.Builder<StagingRoles>
A builder for
StagingRoles
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dockerAssetPublishingRole
(BootstrapRole dockerAssetPublishingRole) Sets the value ofStagingRoles.getDockerAssetPublishingRole()
fileAssetPublishingRole
(BootstrapRole fileAssetPublishingRole) Sets the value ofStagingRoles.getFileAssetPublishingRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dockerAssetPublishingRole
@Stability(Experimental) public StagingRoles.Builder dockerAssetPublishingRole(BootstrapRole dockerAssetPublishingRole) Sets the value ofStagingRoles.getDockerAssetPublishingRole()
- Parameters:
dockerAssetPublishingRole
- Docker Asset Publishing Role.- Returns:
this
-
fileAssetPublishingRole
@Stability(Experimental) public StagingRoles.Builder fileAssetPublishingRole(BootstrapRole fileAssetPublishingRole) Sets the value ofStagingRoles.getFileAssetPublishingRole()
- Parameters:
fileAssetPublishingRole
- File Asset Publishing Role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<StagingRoles>
- Returns:
- a new instance of
StagingRoles
- Throws:
NullPointerException
- if any required attribute was not provided
-