Class CfnWorkflowVersion.RegistryMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnWorkflowVersion.RegistryMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflowVersion.RegistryMappingProperty>
- Enclosing interface:
CfnWorkflowVersion.RegistryMappingProperty
@Stability(Stable)
public static final class CfnWorkflowVersion.RegistryMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflowVersion.RegistryMappingProperty>
A builder for
CfnWorkflowVersion.RegistryMappingProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ecrAccountId
(String ecrAccountId) Sets the value ofCfnWorkflowVersion.RegistryMappingProperty.getEcrAccountId()
ecrRepositoryPrefix
(String ecrRepositoryPrefix) Sets the value ofCfnWorkflowVersion.RegistryMappingProperty.getEcrRepositoryPrefix()
upstreamRegistryUrl
(String upstreamRegistryUrl) Sets the value ofCfnWorkflowVersion.RegistryMappingProperty.getUpstreamRegistryUrl()
upstreamRepositoryPrefix
(String upstreamRepositoryPrefix) Sets the value ofCfnWorkflowVersion.RegistryMappingProperty.getUpstreamRepositoryPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ecrAccountId
@Stability(Stable) public CfnWorkflowVersion.RegistryMappingProperty.Builder ecrAccountId(String ecrAccountId) Sets the value ofCfnWorkflowVersion.RegistryMappingProperty.getEcrAccountId()
- Parameters:
ecrAccountId
- Account ID of the account that owns the upstream container image.- Returns:
this
-
ecrRepositoryPrefix
@Stability(Stable) public CfnWorkflowVersion.RegistryMappingProperty.Builder ecrRepositoryPrefix(String ecrRepositoryPrefix) Sets the value ofCfnWorkflowVersion.RegistryMappingProperty.getEcrRepositoryPrefix()
- Parameters:
ecrRepositoryPrefix
- The repository prefix to use in the ECR private repository.- Returns:
this
-
upstreamRegistryUrl
@Stability(Stable) public CfnWorkflowVersion.RegistryMappingProperty.Builder upstreamRegistryUrl(String upstreamRegistryUrl) Sets the value ofCfnWorkflowVersion.RegistryMappingProperty.getUpstreamRegistryUrl()
- Parameters:
upstreamRegistryUrl
- The URI of the upstream registry.- Returns:
this
-
upstreamRepositoryPrefix
@Stability(Stable) public CfnWorkflowVersion.RegistryMappingProperty.Builder upstreamRepositoryPrefix(String upstreamRepositoryPrefix) Sets the value ofCfnWorkflowVersion.RegistryMappingProperty.getUpstreamRepositoryPrefix()
- Parameters:
upstreamRepositoryPrefix
- The repository prefix of the corresponding repository in the upstream registry.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkflowVersion.RegistryMappingProperty>
- Returns:
- a new instance of
CfnWorkflowVersion.RegistryMappingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-