@Stability(value=Experimental) public static final class DockerImageDestination.Builder extends Object implements software.amazon.jsii.Builder<DockerImageDestination>
DockerImageDestination| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DockerImageDestination.Builder |
assumeRoleArn(String assumeRoleArn)
Sets the value of
AwsDestination.getAssumeRoleArn() |
DockerImageDestination.Builder |
assumeRoleExternalId(String assumeRoleExternalId)
Sets the value of
AwsDestination.getAssumeRoleExternalId() |
DockerImageDestination |
build()
Builds the configured instance.
|
DockerImageDestination.Builder |
imageTag(String imageTag)
Sets the value of
DockerImageDestination.getImageTag() |
DockerImageDestination.Builder |
region(String region)
Sets the value of
AwsDestination.getRegion() |
DockerImageDestination.Builder |
repositoryName(String repositoryName)
Sets the value of
DockerImageDestination.getRepositoryName() |
@Stability(value=Experimental) public DockerImageDestination.Builder imageTag(String imageTag)
DockerImageDestination.getImageTag()imageTag - Tag of the image to publish. This parameter is required.this@Stability(value=Experimental) public DockerImageDestination.Builder repositoryName(String repositoryName)
DockerImageDestination.getRepositoryName()repositoryName - Name of the ECR repository to publish to. This parameter is required.this@Stability(value=Experimental) public DockerImageDestination.Builder assumeRoleArn(String assumeRoleArn)
AwsDestination.getAssumeRoleArn()assumeRoleArn - The role that needs to be assumed while publishing this asset.this@Stability(value=Experimental) public DockerImageDestination.Builder assumeRoleExternalId(String assumeRoleExternalId)
AwsDestination.getAssumeRoleExternalId()assumeRoleExternalId - The ExternalId that needs to be supplied while assuming this role.this@Stability(value=Experimental) public DockerImageDestination.Builder region(String region)
AwsDestination.getRegion()region - The region where this asset will need to be published.this@Stability(value=Experimental) public DockerImageDestination build()
build in interface software.amazon.jsii.Builder<DockerImageDestination>DockerImageDestinationNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.