Interface PullRequestCreatedEventMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PullRequestCreatedEventMetadata.Builder,PullRequestCreatedEventMetadata>, SdkBuilder<PullRequestCreatedEventMetadata.Builder,PullRequestCreatedEventMetadata>, SdkPojo
Enclosing class:
PullRequestCreatedEventMetadata

public static interface PullRequestCreatedEventMetadata.Builder extends SdkPojo, CopyableBuilder<PullRequestCreatedEventMetadata.Builder,PullRequestCreatedEventMetadata>
  • Method Details

    • repositoryName

      PullRequestCreatedEventMetadata.Builder repositoryName(String repositoryName)

      The name of the repository where the pull request was created.

      Parameters:
      repositoryName - The name of the repository where the pull request was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceCommitId

      PullRequestCreatedEventMetadata.Builder sourceCommitId(String sourceCommitId)

      The commit ID on the source branch used when the pull request was created.

      Parameters:
      sourceCommitId - The commit ID on the source branch used when the pull request was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationCommitId

      PullRequestCreatedEventMetadata.Builder destinationCommitId(String destinationCommitId)

      The commit ID of the tip of the branch specified as the destination branch when the pull request was created.

      Parameters:
      destinationCommitId - The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mergeBase

      The commit ID of the most recent commit that the source branch and the destination branch have in common.

      Parameters:
      mergeBase - The commit ID of the most recent commit that the source branch and the destination branch have in common.
      Returns:
      Returns a reference to this object so that method calls can be chained together.