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
Modifier and TypeMethodDescriptiondestinationCommitId
(String destinationCommitId) The commit ID of the tip of the branch specified as the destination branch when the pull request was created.The commit ID of the most recent commit that the source branch and the destination branch have in common.repositoryName
(String repositoryName) The name of the repository where the pull request was created.sourceCommitId
(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 Details
-
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
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
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.
-