Class CfnWorkflow.SourceReferenceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnWorkflow.SourceReferenceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.SourceReferenceProperty>
- Enclosing interface:
CfnWorkflow.SourceReferenceProperty
@Stability(Stable)
public static final class CfnWorkflow.SourceReferenceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.SourceReferenceProperty>
A builder for
CfnWorkflow.SourceReferenceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkflow.SourceReferenceProperty.getType()Sets the value ofCfnWorkflow.SourceReferenceProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnWorkflow.SourceReferenceProperty.getType()- Parameters:
type- The type of source reference, such as branch, tag, or commit.- Returns:
this
-
value
Sets the value ofCfnWorkflow.SourceReferenceProperty.getValue()- Parameters:
value- The value of the source reference, such as the branch name, tag name, or commit ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflow.SourceReferenceProperty>- Returns:
- a new instance of
CfnWorkflow.SourceReferenceProperty - Throws:
NullPointerException- if any required attribute was not provided
-