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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PullRequestCreatedEventMetadata.BuilderdestinationCommitId(String destinationCommitId)The commit ID of the tip of the branch specified as the destination branch when the pull request was created.PullRequestCreatedEventMetadata.BuildermergeBase(String mergeBase)The commit ID of the most recent commit that the source branch and the destination branch have in common.PullRequestCreatedEventMetadata.BuilderrepositoryName(String repositoryName)The name of the repository where the pull request was created.PullRequestCreatedEventMetadata.BuildersourceCommitId(String sourceCommitId)The commit ID on the source branch used when the pull request was created.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
PullRequestCreatedEventMetadata.Builder mergeBase(String 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.
-
-