Interface RepositorySummary.Builder

  • Method Details

    • provider

      RepositorySummary.Builder provider(String 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

      RepositorySummary.Builder defaultBranch(String 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

      RepositorySummary.Builder repositoryPath(String 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

      RepositorySummary.Builder updatedAt(Instant 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

      RepositorySummary.Builder cloneUrl(String 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.