Class CfnWorkflowVersion.DefinitionRepositoryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnWorkflowVersion.DefinitionRepositoryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflowVersion.DefinitionRepositoryProperty>
- Enclosing interface:
CfnWorkflowVersion.DefinitionRepositoryProperty
@Stability(Stable)
public static final class CfnWorkflowVersion.DefinitionRepositoryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflowVersion.DefinitionRepositoryProperty>
A builder for
CfnWorkflowVersion.DefinitionRepositoryProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectionArn
(String connectionArn) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getConnectionArn()
excludeFilePatterns
(List<String> excludeFilePatterns) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getExcludeFilePatterns()
fullRepositoryId
(String fullRepositoryId) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getFullRepositoryId()
sourceReference
(IResolvable sourceReference) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getSourceReference()
sourceReference
(CfnWorkflowVersion.SourceReferenceProperty sourceReference) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getSourceReference()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionArn
@Stability(Stable) public CfnWorkflowVersion.DefinitionRepositoryProperty.Builder connectionArn(String connectionArn) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getConnectionArn()
- Parameters:
connectionArn
- The Amazon Resource Name (ARN) of the connection to the source code repository.- Returns:
this
-
excludeFilePatterns
@Stability(Stable) public CfnWorkflowVersion.DefinitionRepositoryProperty.Builder excludeFilePatterns(List<String> excludeFilePatterns) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getExcludeFilePatterns()
- Parameters:
excludeFilePatterns
- A list of file patterns to exclude when retrieving the workflow definition from the repository.- Returns:
this
-
fullRepositoryId
@Stability(Stable) public CfnWorkflowVersion.DefinitionRepositoryProperty.Builder fullRepositoryId(String fullRepositoryId) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getFullRepositoryId()
- Parameters:
fullRepositoryId
- The full repository identifier, including the repository owner and name. For example, 'repository-owner/repository-name'.- Returns:
this
-
sourceReference
@Stability(Stable) public CfnWorkflowVersion.DefinitionRepositoryProperty.Builder sourceReference(IResolvable sourceReference) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getSourceReference()
- Parameters:
sourceReference
- The source reference for the repository, such as a branch name, tag, or commit ID.- Returns:
this
-
sourceReference
@Stability(Stable) public CfnWorkflowVersion.DefinitionRepositoryProperty.Builder sourceReference(CfnWorkflowVersion.SourceReferenceProperty sourceReference) Sets the value ofCfnWorkflowVersion.DefinitionRepositoryProperty.getSourceReference()
- Parameters:
sourceReference
- The source reference for the repository, such as a branch name, tag, or commit ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkflowVersion.DefinitionRepositoryProperty>
- Returns:
- a new instance of
CfnWorkflowVersion.DefinitionRepositoryProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-