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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.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()
storageCapacity
(Number storageCapacity) Sets the value ofCfnWorkflowProps.getStorageCapacity()
Sets the value ofCfnWorkflowProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
-
storageCapacity
Sets the value ofCfnWorkflowProps.getStorageCapacity()
- Parameters:
storageCapacity
- A storage capacity for the workflow in gigabytes.- Returns:
this
-
tags
Sets the value ofCfnWorkflowProps.getTags()
- Parameters:
tags
- Tags for the workflow.- 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
-