Package software.amazon.awscdk.core
Class DockerImageAssetLocation.Builder
java.lang.Object
software.amazon.awscdk.core.DockerImageAssetLocation.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<DockerImageAssetLocation>
- Enclosing interface:
- DockerImageAssetLocation
@Stability(Stable)
public static final class DockerImageAssetLocation.Builder
extends Object
implements software.amazon.jsii.Builder<DockerImageAssetLocation>
A builder for 
DockerImageAssetLocation- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofDockerImageAssetLocation.getImageUri()repositoryName(String repositoryName) Sets the value ofDockerImageAssetLocation.getRepositoryName()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
imageUriSets the value ofDockerImageAssetLocation.getImageUri()- Parameters:
- imageUri- The URI of the image in Amazon ECR. This parameter is required.
- Returns:
- this
 
- 
repositoryNameSets the value ofDockerImageAssetLocation.getRepositoryName()- Parameters:
- repositoryName- The name of the ECR repository. This parameter is required.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<DockerImageAssetLocation>
- Returns:
- a new instance of DockerImageAssetLocation
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-