Interface DefinitionRepository.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DefinitionRepository.Builder,
,DefinitionRepository> SdkBuilder<DefinitionRepository.Builder,
,DefinitionRepository> SdkPojo
- Enclosing class:
DefinitionRepository
@Mutable
@NotThreadSafe
public static interface DefinitionRepository.Builder
extends SdkPojo, CopyableBuilder<DefinitionRepository.Builder,DefinitionRepository>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionArn
(String connectionArn) The Amazon Resource Name (ARN) of the connection to the source code repository.excludeFilePatterns
(String... excludeFilePatterns) A list of file patterns to exclude when retrieving the workflow definition from the repository.excludeFilePatterns
(Collection<String> excludeFilePatterns) A list of file patterns to exclude when retrieving the workflow definition from the repository.fullRepositoryId
(String fullRepositoryId) The full repository identifier, including the repository owner and name.default DefinitionRepository.Builder
sourceReference
(Consumer<SourceReference.Builder> sourceReference) The source reference for the repository, such as a branch name, tag, or commit ID.sourceReference
(SourceReference sourceReference) The source reference for the repository, such as a branch name, tag, or commit ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
connectionArn
The Amazon Resource Name (ARN) of the connection to the source code repository.
- Parameters:
connectionArn
- The Amazon Resource Name (ARN) of the connection to the source code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fullRepositoryId
The full repository identifier, including the repository owner and name. For example, 'repository-owner/repository-name'.
- Parameters:
fullRepositoryId
- The full repository identifier, including the repository owner and name. For example, 'repository-owner/repository-name'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceReference
The source reference for the repository, such as a branch name, tag, or commit ID.
- Parameters:
sourceReference
- The source reference for the repository, such as a branch name, tag, or commit ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceReference
default DefinitionRepository.Builder sourceReference(Consumer<SourceReference.Builder> sourceReference) The source reference for the repository, such as a branch name, tag, or commit ID.
This is a convenience method that creates an instance of theSourceReference.Builder
avoiding the need to create one manually viaSourceReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceReference(SourceReference)
.- Parameters:
sourceReference
- a consumer that will call methods onSourceReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludeFilePatterns
A list of file patterns to exclude when retrieving the workflow definition from the repository.
- Parameters:
excludeFilePatterns
- A list of file patterns to exclude when retrieving the workflow definition from the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeFilePatterns
A list of file patterns to exclude when retrieving the workflow definition from the repository.
- Parameters:
excludeFilePatterns
- A list of file patterns to exclude when retrieving the workflow definition from the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-