Interface CreateSourceRepositoryBranchResponse.Builder

    • Method Detail

      • ref

        CreateSourceRepositoryBranchResponse.Builder ref​(String ref)

        The Git reference name of the branch.

        Parameters:
        ref - The Git reference name of the branch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateSourceRepositoryBranchResponse.Builder name​(String name)

        The name of the newly created branch.

        Parameters:
        name - The name of the newly created branch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        CreateSourceRepositoryBranchResponse.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

        Parameters:
        lastUpdatedTime - The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headCommitId

        CreateSourceRepositoryBranchResponse.Builder headCommitId​(String headCommitId)

        The commit ID of the tip of the newly created branch.

        Parameters:
        headCommitId - The commit ID of the tip of the newly created branch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.