Class CfnWorkflowVersionProps.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnWorkflowVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflowVersionProps>
- Enclosing interface:
CfnWorkflowVersionProps
@Stability(Stable)
public static final class CfnWorkflowVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflowVersionProps>
A builder for
CfnWorkflowVersionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccelerators(String accelerators) Sets the value ofCfnWorkflowVersionProps.getAccelerators()build()Builds the configured instance.containerRegistryMap(IResolvable containerRegistryMap) Sets the value ofCfnWorkflowVersionProps.getContainerRegistryMap()containerRegistryMap(CfnWorkflowVersion.ContainerRegistryMapProperty containerRegistryMap) Sets the value ofCfnWorkflowVersionProps.getContainerRegistryMap()containerRegistryMapUri(String containerRegistryMapUri) Sets the value ofCfnWorkflowVersionProps.getContainerRegistryMapUri()definitionRepository(IResolvable definitionRepository) Sets the value ofCfnWorkflowVersionProps.getDefinitionRepository()definitionRepository(CfnWorkflowVersion.DefinitionRepositoryProperty definitionRepository) Sets the value ofCfnWorkflowVersionProps.getDefinitionRepository()definitionUri(String definitionUri) Sets the value ofCfnWorkflowVersionProps.getDefinitionUri()description(String description) Sets the value ofCfnWorkflowVersionProps.getDescription()Sets the value ofCfnWorkflowVersionProps.getEngine()Sets the value ofCfnWorkflowVersionProps.getMain()parameterTemplate(Map<String, ? extends Object> parameterTemplate) Sets the value ofCfnWorkflowVersionProps.getParameterTemplate()parameterTemplate(IResolvable parameterTemplate) Sets the value ofCfnWorkflowVersionProps.getParameterTemplate()parameterTemplatePath(String parameterTemplatePath) Sets the value ofCfnWorkflowVersionProps.getParameterTemplatePath()readmeMarkdown(String readmeMarkdown) Sets the value ofCfnWorkflowVersionProps.getReadmeMarkdown()readmePath(String readmePath) Sets the value ofCfnWorkflowVersionProps.getReadmePath()Sets the value ofCfnWorkflowVersionProps.getReadmeUri()storageCapacity(Number storageCapacity) Sets the value ofCfnWorkflowVersionProps.getStorageCapacity()storageType(String storageType) Sets the value ofCfnWorkflowVersionProps.getStorageType()Sets the value ofCfnWorkflowVersionProps.getTags()versionName(String versionName) Sets the value ofCfnWorkflowVersionProps.getVersionName()workflowBucketOwnerId(String workflowBucketOwnerId) Sets the value ofCfnWorkflowVersionProps.getWorkflowBucketOwnerId()workflowId(String workflowId) Sets the value ofCfnWorkflowVersionProps.getWorkflowId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
versionName
Sets the value ofCfnWorkflowVersionProps.getVersionName()- Parameters:
versionName- The name of the workflow version. This parameter is required.- Returns:
this
-
workflowId
Sets the value ofCfnWorkflowVersionProps.getWorkflowId()- Parameters:
workflowId- The workflow's ID. This parameter is required.- Returns:
this
-
accelerators
Sets the value ofCfnWorkflowVersionProps.getAccelerators()- Parameters:
accelerators- the value to be set.- Returns:
this
-
containerRegistryMap
@Stability(Stable) public CfnWorkflowVersionProps.Builder containerRegistryMap(IResolvable containerRegistryMap) Sets the value ofCfnWorkflowVersionProps.getContainerRegistryMap()- Parameters:
containerRegistryMap- Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries. For more information, see Container images in the AWS HealthOmics User Guide .- Returns:
this
-
containerRegistryMap
@Stability(Stable) public CfnWorkflowVersionProps.Builder containerRegistryMap(CfnWorkflowVersion.ContainerRegistryMapProperty containerRegistryMap) Sets the value ofCfnWorkflowVersionProps.getContainerRegistryMap()- Parameters:
containerRegistryMap- Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries. For more information, see Container images in the AWS HealthOmics User Guide .- Returns:
this
-
containerRegistryMapUri
@Stability(Stable) public CfnWorkflowVersionProps.Builder containerRegistryMapUri(String containerRegistryMapUri) Sets the value ofCfnWorkflowVersionProps.getContainerRegistryMapUri()- Parameters:
containerRegistryMapUri- the value to be set.- Returns:
this
-
definitionRepository
@Stability(Stable) public CfnWorkflowVersionProps.Builder definitionRepository(IResolvable definitionRepository) Sets the value ofCfnWorkflowVersionProps.getDefinitionRepository()- Parameters:
definitionRepository- Contains information about a source code repository that hosts the workflow definition files.- Returns:
this
-
definitionRepository
@Stability(Stable) public CfnWorkflowVersionProps.Builder definitionRepository(CfnWorkflowVersion.DefinitionRepositoryProperty definitionRepository) Sets the value ofCfnWorkflowVersionProps.getDefinitionRepository()- Parameters:
definitionRepository- Contains information about a source code repository that hosts the workflow definition files.- Returns:
this
-
definitionUri
Sets the value ofCfnWorkflowVersionProps.getDefinitionUri()- Parameters:
definitionUri- the value to be set.- Returns:
this
-
description
Sets the value ofCfnWorkflowVersionProps.getDescription()- Parameters:
description- The description of the workflow version.- Returns:
this
-
engine
Sets the value ofCfnWorkflowVersionProps.getEngine()- Parameters:
engine- the value to be set.- Returns:
this
-
main
Sets the value ofCfnWorkflowVersionProps.getMain()- Parameters:
main- the value to be set.- Returns:
this
-
parameterTemplate
@Stability(Stable) public CfnWorkflowVersionProps.Builder parameterTemplate(IResolvable parameterTemplate) Sets the value ofCfnWorkflowVersionProps.getParameterTemplate()- Parameters:
parameterTemplate- the value to be set.- Returns:
this
-
parameterTemplate
@Stability(Stable) public CfnWorkflowVersionProps.Builder parameterTemplate(Map<String, ? extends Object> parameterTemplate) Sets the value ofCfnWorkflowVersionProps.getParameterTemplate()- Parameters:
parameterTemplate- the value to be set.- Returns:
this
-
parameterTemplatePath
@Stability(Stable) public CfnWorkflowVersionProps.Builder parameterTemplatePath(String parameterTemplatePath) Sets the value ofCfnWorkflowVersionProps.getParameterTemplatePath()- Parameters:
parameterTemplatePath- Path to the primary workflow parameter template JSON file inside the repository.- Returns:
this
-
readmeMarkdown
Sets the value ofCfnWorkflowVersionProps.getReadmeMarkdown()- Parameters:
readmeMarkdown- The markdown content for the workflow's README file. This provides documentation and usage information for users of the workflow.- Returns:
this
-
readmePath
Sets the value ofCfnWorkflowVersionProps.getReadmePath()- Parameters:
readmePath- The path to the workflow README markdown file within the repository. This file provides documentation and usage information for the workflow. If not specified, the README.md file from the root directory of the repository will be used.- Returns:
this
-
readmeUri
Sets the value ofCfnWorkflowVersionProps.getReadmeUri()- Parameters:
readmeUri- The S3 URI of the README file for the workflow. This file provides documentation and usage information for the workflow. The S3 URI must begin with s3://USER-OWNED-BUCKET/. The requester must have access to the S3 bucket and object. The max README content length is 500 KiB.- Returns:
this
-
storageCapacity
Sets the value ofCfnWorkflowVersionProps.getStorageCapacity()- Parameters:
storageCapacity- the value to be set.- Returns:
this
-
storageType
Sets the value ofCfnWorkflowVersionProps.getStorageType()- Parameters:
storageType- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnWorkflowVersionProps.getTags()- Parameters:
tags- A map of resource tags.- Returns:
this
-
workflowBucketOwnerId
@Stability(Stable) public CfnWorkflowVersionProps.Builder workflowBucketOwnerId(String workflowBucketOwnerId) Sets the value ofCfnWorkflowVersionProps.getWorkflowBucketOwnerId()- Parameters:
workflowBucketOwnerId- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflowVersionProps>- Returns:
- a new instance of
CfnWorkflowVersionProps - Throws:
NullPointerException- if any required attribute was not provided
-