Interface RepositorySummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RepositorySummary.Builder,,RepositorySummary> SdkBuilder<RepositorySummary.Builder,,RepositorySummary> SdkPojo
- Enclosing class:
RepositorySummary
@Mutable
@NotThreadSafe
public static interface RepositorySummary.Builder
extends SdkPojo, CopyableBuilder<RepositorySummary.Builder,RepositorySummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe HTTPS URL for cloning the repository with Git.defaultBranch(String defaultBranch) The repository's default branch, such as main.The name of the repository.The account that the Git connection is for.The Git provider.provider(GitProvider provider) The Git provider.repositoryPath(String repositoryPath) The full path of the repository in the Git provider, for example my-org/my-app.The time when the repository last changed in the Git provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
provider
The Git provider.
- Parameters:
provider- The Git provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provider
The Git provider.
- Parameters:
provider- The Git provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
owner
The account that the Git connection is for. The value depends on the provider:
-
For GitHub, this is the user or organization name.
-
For GitLab, this is the user name.
- Parameters:
owner- The account that the Git connection is for. The value depends on the provider:-
For GitHub, this is the user or organization name.
-
For GitLab, this is the user name.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
name
The name of the repository.
- Parameters:
name- The name of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultBranch
The repository's default branch, such as main.
- Parameters:
defaultBranch- The repository's default branch, such as main.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryPath
The full path of the repository in the Git provider, for example my-org/my-app. GitLab paths can include subgroups, for example my-group/subgroup/my-app.
- Parameters:
repositoryPath- The full path of the repository in the Git provider, for example my-org/my-app. GitLab paths can include subgroups, for example my-group/subgroup/my-app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the repository last changed in the Git provider.
- Parameters:
updatedAt- The time when the repository last changed in the Git provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloneUrl
The HTTPS URL for cloning the repository with Git.
- Parameters:
cloneUrl- The HTTPS URL for cloning the repository with Git.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-