Package software.amazon.awscdk
Class AssetManifestDockerImageDestination.Builder
java.lang.Object
software.amazon.awscdk.AssetManifestDockerImageDestination.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetManifestDockerImageDestination>
- Enclosing interface:
AssetManifestDockerImageDestination
@Stability(Stable)
public static final class AssetManifestDockerImageDestination.Builder
extends Object
implements software.amazon.jsii.Builder<AssetManifestDockerImageDestination>
A builder for
AssetManifestDockerImageDestination-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dockerTagPrefix(String dockerTagPrefix) Sets the value ofAssetManifestDockerImageDestination.getDockerTagPrefix()repositoryName(String repositoryName) Sets the value ofAssetManifestDockerImageDestination.getRepositoryName()role(RoleOptions role) Sets the value ofAssetManifestDockerImageDestination.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repositoryName
@Stability(Stable) public AssetManifestDockerImageDestination.Builder repositoryName(String repositoryName) Sets the value ofAssetManifestDockerImageDestination.getRepositoryName()- Parameters:
repositoryName- Repository name where the docker image asset should be written. This parameter is required.- Returns:
this
-
dockerTagPrefix
@Stability(Stable) public AssetManifestDockerImageDestination.Builder dockerTagPrefix(String dockerTagPrefix) Sets the value ofAssetManifestDockerImageDestination.getDockerTagPrefix()- Parameters:
dockerTagPrefix- Prefix to add to the asset hash to make the Docker image tag.- Returns:
this
-
role
Sets the value ofAssetManifestDockerImageDestination.getRole()- Parameters:
role- Role to use to perform the upload.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AssetManifestDockerImageDestination>- Returns:
- a new instance of
AssetManifestDockerImageDestination - Throws:
NullPointerException- if any required attribute was not provided
-