public static interface PullRequestMergedStateChangedEventMetadata.Builder extends CopyableBuilder<PullRequestMergedStateChangedEventMetadata.Builder,PullRequestMergedStateChangedEventMetadata>
Modifier and Type | Method and Description |
---|---|
PullRequestMergedStateChangedEventMetadata.Builder |
destinationReference(String destinationReference)
The name of the branch that the pull request will be merged into.
|
default PullRequestMergedStateChangedEventMetadata.Builder |
mergeMetadata(Consumer<MergeMetadata.Builder> mergeMetadata)
Information about the merge state change event.
|
PullRequestMergedStateChangedEventMetadata.Builder |
mergeMetadata(MergeMetadata mergeMetadata)
Information about the merge state change event.
|
PullRequestMergedStateChangedEventMetadata.Builder |
repositoryName(String repositoryName)
The name of the repository where the pull request was created.
|
copy
applyMutation, build
PullRequestMergedStateChangedEventMetadata.Builder repositoryName(String repositoryName)
The name of the repository where the pull request was created.
repositoryName
- The name of the repository where the pull request was created.PullRequestMergedStateChangedEventMetadata.Builder destinationReference(String destinationReference)
The name of the branch that the pull request will be merged into.
destinationReference
- The name of the branch that the pull request will be merged into.PullRequestMergedStateChangedEventMetadata.Builder mergeMetadata(MergeMetadata mergeMetadata)
Information about the merge state change event.
mergeMetadata
- Information about the merge state change event.default PullRequestMergedStateChangedEventMetadata.Builder mergeMetadata(Consumer<MergeMetadata.Builder> mergeMetadata)
Information about the merge state change event.
This is a convenience that creates an instance of theMergeMetadata.Builder
avoiding the need to
create one manually via MergeMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to mergeMetadata(MergeMetadata)
.mergeMetadata
- a consumer that will call methods on MergeMetadata.Builder
mergeMetadata(MergeMetadata)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.