@Stability(value=Experimental) public static final class ContainerImageAssetMetadataEntry.Builder extends Object implements software.amazon.jsii.Builder<ContainerImageAssetMetadataEntry>
ContainerImageAssetMetadataEntry| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder id(String id)
ContainerImageAssetMetadataEntry.getId()id - Logical identifier for the asset. This parameter is required.this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder packaging(String packaging)
ContainerImageAssetMetadataEntry.getPackaging()packaging - Type of asset. This parameter is required.this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder path(String path)
ContainerImageAssetMetadataEntry.getPath()path - Path on disk to the asset. This parameter is required.this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder sourceHash(String sourceHash)
ContainerImageAssetMetadataEntry.getSourceHash()sourceHash - The hash of the asset source. This parameter is required.this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder buildArgs(Map<String,String> buildArgs)
ContainerImageAssetMetadataEntry.getBuildArgs()buildArgs - Build args to pass to the `docker build` command.this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder file(String file)
ContainerImageAssetMetadataEntry.getFile()file - Path to the Dockerfile (relative to the directory).this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder imageTag(String imageTag)
ContainerImageAssetMetadataEntry.getImageTag()imageTag - The docker image tag to use for tagging pushed images.
This field is
required if imageParameterName is ommited (otherwise, the app won't be
able to find the image).this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder repositoryName(String repositoryName)
ContainerImageAssetMetadataEntry.getRepositoryName()repositoryName - ECR repository name, if omitted a default name based on the asset's ID is used instead.
Specify this property if you need to statically address the
image, e.g. from a Kubernetes Pod. Note, this is only the repository name,
without the registry and the tag parts.this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry.Builder target(String target)
ContainerImageAssetMetadataEntry.getTarget()target - Docker target to build to.this@Stability(value=Experimental) public ContainerImageAssetMetadataEntry build()
build in interface software.amazon.jsii.Builder<ContainerImageAssetMetadataEntry>ContainerImageAssetMetadataEntryNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.