public static class UpdatePullRequestDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdatePullRequestDetails |
build() |
UpdatePullRequestDetails.Builder |
copy(UpdatePullRequestDetails model) |
UpdatePullRequestDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdatePullRequestDetails.Builder |
description(String description)
Details of the pull request.
|
UpdatePullRequestDetails.Builder |
destinationBranch(String destinationBranch)
The destination branch against which the changes are to be reviewed.
|
UpdatePullRequestDetails.Builder |
displayName(String displayName)
Pull Request title
|
UpdatePullRequestDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
UpdatePullRequestDetails.Builder |
reviewers(List<UpdateReviewerDetails> reviewers)
Reviewers for this Review.
|
public UpdatePullRequestDetails.Builder displayName(String displayName)
Pull Request title
displayName
- the value to setpublic UpdatePullRequestDetails.Builder description(String description)
Details of the pull request. Avoid entering confidential information.
description
- the value to setpublic UpdatePullRequestDetails.Builder destinationBranch(String destinationBranch)
The destination branch against which the changes are to be reviewed. Example: “main”
destinationBranch
- the value to setpublic UpdatePullRequestDetails.Builder reviewers(List<UpdateReviewerDetails> reviewers)
Reviewers for this Review.
reviewers
- the value to setpublic UpdatePullRequestDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. See Resource
Tags. Example:
{"bar-key": "value"}
freeformTags
- the value to setpublic UpdatePullRequestDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. See
Resource Tags.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic UpdatePullRequestDetails build()
public UpdatePullRequestDetails.Builder copy(UpdatePullRequestDetails model)
Copyright © 2016–2024. All rights reserved.