Interface ListGitBranchesRequest.Builder

  • 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, specify the user or organization name.

      • For GitLab, specify the user name.

      To get this value, call ListGitConnections.

      Parameters:
      owner - The account that the Git connection is for. The value depends on the provider:

      • For GitHub, specify the user or organization name.

      • For GitLab, specify the user name.

      To get this value, call ListGitConnections.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryName

      ListGitBranchesRequest.Builder repositoryName(String repositoryName)

      The name of the repository, which is the last segment of RepositoryPath.

      Parameters:
      repositoryName - The name of the repository, which is the last segment of RepositoryPath.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryPath

      ListGitBranchesRequest.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. To get this value, call ListRepositories.

      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. To get this value, call ListRepositories.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListGitBranchesRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return in a single response.

      Parameters:
      maxResults - The maximum number of results to return in a single response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListGitBranchesRequest.Builder nextToken(String nextToken)

      The pagination token returned in a previous response, used to retrieve the next page of results.

      Parameters:
      nextToken - The pagination token returned in a previous response, used to retrieve the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListGitBranchesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.