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