Class CfnWorkflow.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnWorkflow.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow>
- Enclosing class:
CfnWorkflow
@Stability(Stable)
public static final class CfnWorkflow.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow>
A fluent builder for
CfnWorkflow
.-
Method Summary
Modifier and TypeMethodDescriptionaccelerators
(String accelerators) build()
static CfnWorkflow.Builder
definitionRepository
(IResolvable definitionRepository) Contains information about a source code repository that hosts the workflow definition files.definitionRepository
(CfnWorkflow.DefinitionRepositoryProperty definitionRepository) Contains information about a source code repository that hosts the workflow definition files.definitionUri
(String definitionUri) The URI of a definition for the workflow.description
(String description) The parameter's description.An engine for the workflow.The path of the main definition file for the workflow.The workflow's name.parameterTemplate
(Map<String, ? extends Object> parameterTemplate) The workflow's parameter template.parameterTemplate
(IResolvable parameterTemplate) The workflow's parameter template.parameterTemplatePath
(String parameterTemplatePath) Path to the primary workflow parameter template JSON file inside the repository.readmeMarkdown
(String readmeMarkdown) The markdown content for the workflow's README file.readmePath
(String readmePath) The path to the workflow README markdown file within the repository.The S3 URI of the README file for the workflow.storageCapacity
(Number storageCapacity) The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.storageType
(String storageType) Tags for the workflow.workflowBucketOwnerId
(String workflowBucketOwnerId) Optional workflow bucket owner ID to verify the workflow bucket.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkflow.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkflow.Builder
.
-
accelerators
- Parameters:
accelerators
- This parameter is required.- Returns:
this
- See Also:
-
definitionRepository
@Stability(Stable) public CfnWorkflow.Builder definitionRepository(IResolvable definitionRepository) Contains information about a source code repository that hosts the workflow definition files.- Parameters:
definitionRepository
- Contains information about a source code repository that hosts the workflow definition files. This parameter is required.- Returns:
this
- See Also:
-
definitionRepository
@Stability(Stable) public CfnWorkflow.Builder definitionRepository(CfnWorkflow.DefinitionRepositoryProperty definitionRepository) Contains information about a source code repository that hosts the workflow definition files.- Parameters:
definitionRepository
- Contains information about a source code repository that hosts the workflow definition files. This parameter is required.- Returns:
this
- See Also:
-
definitionUri
The URI of a definition for the workflow.- Parameters:
definitionUri
- The URI of a definition for the workflow. This parameter is required.- Returns:
this
- See Also:
-
description
The parameter's description.- Parameters:
description
- The parameter's description. This parameter is required.- Returns:
this
- See Also:
-
engine
An engine for the workflow.- Parameters:
engine
- An engine for the workflow. This parameter is required.- Returns:
this
- See Also:
-
main
The path of the main definition file for the workflow.- Parameters:
main
- The path of the main definition file for the workflow. This parameter is required.- Returns:
this
- See Also:
-
name
The workflow's name.- Parameters:
name
- The workflow's name. This parameter is required.- Returns:
this
- See Also:
-
parameterTemplate
The workflow's parameter template.- Parameters:
parameterTemplate
- The workflow's parameter template. This parameter is required.- Returns:
this
- See Also:
-
parameterTemplate
@Stability(Stable) public CfnWorkflow.Builder parameterTemplate(Map<String, ? extends Object> parameterTemplate) The workflow's parameter template.- Parameters:
parameterTemplate
- The workflow's parameter template. This parameter is required.- Returns:
this
- See Also:
-
parameterTemplatePath
Path to the primary workflow parameter template JSON file inside the repository.- Parameters:
parameterTemplatePath
- Path to the primary workflow parameter template JSON file inside the repository. This parameter is required.- Returns:
this
- See Also:
-
readmeMarkdown
The markdown content for the workflow's README file.This provides documentation and usage information for users of the workflow.
- Parameters:
readmeMarkdown
- The markdown content for the workflow's README file. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
readmePath
- The path to the workflow README markdown file within the repository. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
readmeUri
- The S3 URI of the README file for the workflow. This parameter is required.- Returns:
this
- See Also:
-
storageCapacity
The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.The
storageCapacity
can be overwritten at run time. The storage capacity is not required for runs with aDYNAMIC
storage type.- Parameters:
storageCapacity
- The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version. This parameter is required.- Returns:
this
- See Also:
-
storageType
- Parameters:
storageType
- This parameter is required.- Returns:
this
- See Also:
-
tags
Tags for the workflow.- Parameters:
tags
- Tags for the workflow. This parameter is required.- Returns:
this
- See Also:
-
workflowBucketOwnerId
Optional workflow bucket owner ID to verify the workflow bucket.- Parameters:
workflowBucketOwnerId
- Optional workflow bucket owner ID to verify the workflow bucket. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkflow>
- Returns:
- a newly built instance of
CfnWorkflow
.
-