Interface DefinitionRepositoryDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DefinitionRepositoryDetails.Builder,
,DefinitionRepositoryDetails> SdkBuilder<DefinitionRepositoryDetails.Builder,
,DefinitionRepositoryDetails> SdkPojo
- Enclosing class:
DefinitionRepositoryDetails
@Mutable
@NotThreadSafe
public static interface DefinitionRepositoryDetails.Builder
extends SdkPojo, CopyableBuilder<DefinitionRepositoryDetails.Builder,DefinitionRepositoryDetails>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionArn
(String connectionArn) The Amazon Resource Name (ARN) of the connection to the source code repository.fullRepositoryId
(String fullRepositoryId) The full repository identifier, including the repository owner and name.providerEndpoint
(String providerEndpoint) The endpoint URL of the source code repository provider.providerType
(String providerType) The provider type of the source code repository, such as Bitbucket, GitHub, GitHubEnterpriseServer, GitLab, and GitLabSelfManaged.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 DefinitionRepositoryDetails.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:
-
providerType
The provider type of the source code repository, such as Bitbucket, GitHub, GitHubEnterpriseServer, GitLab, and GitLabSelfManaged.
- Parameters:
providerType
- The provider type of the source code repository, such as Bitbucket, GitHub, GitHubEnterpriseServer, GitLab, and GitLabSelfManaged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerEndpoint
The endpoint URL of the source code repository provider.
- Parameters:
providerEndpoint
- The endpoint URL of the source code repository provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-