Class CfnWorkflowMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.omics.CfnWorkflowMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflowMixinProps>
- Enclosing interface:
CfnWorkflowMixinProps
@Stability(Stable)
public static final class CfnWorkflowMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflowMixinProps>
A builder for
CfnWorkflowMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccelerators(String accelerators) Sets the value ofCfnWorkflowMixinProps.getAccelerators()build()Builds the configured instance.containerRegistryMap(CfnWorkflowPropsMixin.ContainerRegistryMapProperty containerRegistryMap) Sets the value ofCfnWorkflowMixinProps.getContainerRegistryMap()containerRegistryMap(IResolvable containerRegistryMap) Sets the value ofCfnWorkflowMixinProps.getContainerRegistryMap()containerRegistryMapUri(String containerRegistryMapUri) Sets the value ofCfnWorkflowMixinProps.getContainerRegistryMapUri()definitionRepository(CfnWorkflowPropsMixin.DefinitionRepositoryProperty definitionRepository) Sets the value ofCfnWorkflowMixinProps.getDefinitionRepository()definitionRepository(IResolvable definitionRepository) Sets the value ofCfnWorkflowMixinProps.getDefinitionRepository()definitionUri(String definitionUri) Sets the value ofCfnWorkflowMixinProps.getDefinitionUri()description(String description) Sets the value ofCfnWorkflowMixinProps.getDescription()Sets the value ofCfnWorkflowMixinProps.getEngine()Sets the value ofCfnWorkflowMixinProps.getMain()Sets the value ofCfnWorkflowMixinProps.getName()parameterTemplate(Map<String, ? extends Object> parameterTemplate) Sets the value ofCfnWorkflowMixinProps.getParameterTemplate()parameterTemplate(IResolvable parameterTemplate) Sets the value ofCfnWorkflowMixinProps.getParameterTemplate()parameterTemplatePath(String parameterTemplatePath) Sets the value ofCfnWorkflowMixinProps.getParameterTemplatePath()readmeMarkdown(String readmeMarkdown) Sets the value ofCfnWorkflowMixinProps.getReadmeMarkdown()readmePath(String readmePath) Sets the value ofCfnWorkflowMixinProps.getReadmePath()Sets the value ofCfnWorkflowMixinProps.getReadmeUri()storageCapacity(Number storageCapacity) Sets the value ofCfnWorkflowMixinProps.getStorageCapacity()storageType(String storageType) Sets the value ofCfnWorkflowMixinProps.getStorageType()Sets the value ofCfnWorkflowMixinProps.getTags()workflowBucketOwnerId(String workflowBucketOwnerId) Sets the value ofCfnWorkflowMixinProps.getWorkflowBucketOwnerId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accelerators
Sets the value ofCfnWorkflowMixinProps.getAccelerators()- Parameters:
accelerators- the value to be set.- Returns:
this
-
containerRegistryMap
@Stability(Stable) public CfnWorkflowMixinProps.Builder containerRegistryMap(IResolvable containerRegistryMap) Sets the value ofCfnWorkflowMixinProps.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 CfnWorkflowMixinProps.Builder containerRegistryMap(CfnWorkflowPropsMixin.ContainerRegistryMapProperty containerRegistryMap) Sets the value ofCfnWorkflowMixinProps.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 CfnWorkflowMixinProps.Builder containerRegistryMapUri(String containerRegistryMapUri) Sets the value ofCfnWorkflowMixinProps.getContainerRegistryMapUri()- Parameters:
containerRegistryMapUri- the value to be set.- Returns:
this
-
definitionRepository
@Stability(Stable) public CfnWorkflowMixinProps.Builder definitionRepository(IResolvable definitionRepository) Sets the value ofCfnWorkflowMixinProps.getDefinitionRepository()- Parameters:
definitionRepository- Contains information about a source code repository that hosts the workflow definition files.- Returns:
this
-
definitionRepository
@Stability(Stable) public CfnWorkflowMixinProps.Builder definitionRepository(CfnWorkflowPropsMixin.DefinitionRepositoryProperty definitionRepository) Sets the value ofCfnWorkflowMixinProps.getDefinitionRepository()- Parameters:
definitionRepository- Contains information about a source code repository that hosts the workflow definition files.- Returns:
this
-
definitionUri
Sets the value ofCfnWorkflowMixinProps.getDefinitionUri()- Parameters:
definitionUri- The URI of a definition for the workflow.- Returns:
this
-
description
Sets the value ofCfnWorkflowMixinProps.getDescription()- Parameters:
description- The parameter's description.- Returns:
this
-
engine
Sets the value ofCfnWorkflowMixinProps.getEngine()- Parameters:
engine- An engine for the workflow.- Returns:
this
-
main
Sets the value ofCfnWorkflowMixinProps.getMain()- Parameters:
main- The path of the main definition file for the workflow.- Returns:
this
-
name
Sets the value ofCfnWorkflowMixinProps.getName()- Parameters:
name- The workflow's name.- Returns:
this
-
parameterTemplate
@Stability(Stable) public CfnWorkflowMixinProps.Builder parameterTemplate(IResolvable parameterTemplate) Sets the value ofCfnWorkflowMixinProps.getParameterTemplate()- Parameters:
parameterTemplate- The workflow's parameter template.- Returns:
this
-
parameterTemplate
@Stability(Stable) public CfnWorkflowMixinProps.Builder parameterTemplate(Map<String, ? extends Object> parameterTemplate) Sets the value ofCfnWorkflowMixinProps.getParameterTemplate()- Parameters:
parameterTemplate- The workflow's parameter template.- Returns:
this
-
parameterTemplatePath
@Stability(Stable) public CfnWorkflowMixinProps.Builder parameterTemplatePath(String parameterTemplatePath) Sets the value ofCfnWorkflowMixinProps.getParameterTemplatePath()- Parameters:
parameterTemplatePath- Path to the primary workflow parameter template JSON file inside the repository.- Returns:
this
-
readmeMarkdown
Sets the value ofCfnWorkflowMixinProps.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 ofCfnWorkflowMixinProps.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 ofCfnWorkflowMixinProps.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 ofCfnWorkflowMixinProps.getStorageCapacity()- Parameters:
storageCapacity- The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version. ThestorageCapacitycan be overwritten at run time. The storage capacity is not required for runs with aDYNAMICstorage type.- Returns:
this
-
storageType
Sets the value ofCfnWorkflowMixinProps.getStorageType()- Parameters:
storageType- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnWorkflowMixinProps.getTags()- Parameters:
tags- Tags for the workflow.- Returns:
this
-
workflowBucketOwnerId
@Stability(Stable) public CfnWorkflowMixinProps.Builder workflowBucketOwnerId(String workflowBucketOwnerId) Sets the value ofCfnWorkflowMixinProps.getWorkflowBucketOwnerId()- Parameters:
workflowBucketOwnerId- Optional workflow bucket owner ID to verify the workflow bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflowMixinProps>- Returns:
- a new instance of
CfnWorkflowMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-