Class CfnWorkflow.DefinitionRepositoryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnWorkflow.DefinitionRepositoryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.DefinitionRepositoryProperty>
- Enclosing interface:
CfnWorkflow.DefinitionRepositoryProperty
@Stability(Stable)
public static final class CfnWorkflow.DefinitionRepositoryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.DefinitionRepositoryProperty>
A builder for
CfnWorkflow.DefinitionRepositoryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionArn(String connectionArn) Sets the value ofCfnWorkflow.DefinitionRepositoryProperty.getConnectionArn()excludeFilePatterns(List<String> excludeFilePatterns) Sets the value ofCfnWorkflow.DefinitionRepositoryProperty.getExcludeFilePatterns()fullRepositoryId(String fullRepositoryId) Sets the value ofCfnWorkflow.DefinitionRepositoryProperty.getFullRepositoryId()sourceReference(IResolvable sourceReference) Sets the value ofCfnWorkflow.DefinitionRepositoryProperty.getSourceReference()sourceReference(CfnWorkflow.SourceReferenceProperty sourceReference) Sets the value ofCfnWorkflow.DefinitionRepositoryProperty.getSourceReference()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionArn
@Stability(Stable) public CfnWorkflow.DefinitionRepositoryProperty.Builder connectionArn(String connectionArn) Sets the value ofCfnWorkflow.DefinitionRepositoryProperty.getConnectionArn()- Parameters:
connectionArn- The Amazon Resource Name (ARN) of the connection to the source code repository.- Returns:
this
-
excludeFilePatterns
@Stability(Stable) public CfnWorkflow.DefinitionRepositoryProperty.Builder excludeFilePatterns(List<String> excludeFilePatterns) Sets the value ofCfnWorkflow.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 CfnWorkflow.DefinitionRepositoryProperty.Builder fullRepositoryId(String fullRepositoryId) Sets the value ofCfnWorkflow.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 CfnWorkflow.DefinitionRepositoryProperty.Builder sourceReference(IResolvable sourceReference) Sets the value ofCfnWorkflow.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 CfnWorkflow.DefinitionRepositoryProperty.Builder sourceReference(CfnWorkflow.SourceReferenceProperty sourceReference) Sets the value ofCfnWorkflow.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflow.DefinitionRepositoryProperty>- Returns:
- a new instance of
CfnWorkflow.DefinitionRepositoryProperty - Throws:
NullPointerException- if any required attribute was not provided
-