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