public static class UpdatePullRequestResponse.Builder extends Object implements BmcResponse.Builder<UpdatePullRequestResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdatePullRequestResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
UpdatePullRequestResponse |
build()
Build the response object.
|
UpdatePullRequestResponse.Builder |
contentLocation(String contentLocation)
Relative URL of the newly created resource.
|
UpdatePullRequestResponse.Builder |
copy(UpdatePullRequestResponse o)
Copy method to populate the builder with values from the given instance.
|
UpdatePullRequestResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
UpdatePullRequestResponse.Builder |
headers(Map<String,List<String>> headers) |
UpdatePullRequestResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
UpdatePullRequestResponse.Builder |
opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier for the asynchronous request.
|
UpdatePullRequestResponse.Builder |
pullRequest(PullRequest pullRequest)
The returned
PullRequest instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public UpdatePullRequestResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<UpdatePullRequestResponse>
public UpdatePullRequestResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<UpdatePullRequestResponse>
public UpdatePullRequestResponse.Builder contentLocation(String contentLocation)
Relative URL of the newly created resource.
contentLocation
- the value to setpublic UpdatePullRequestResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic UpdatePullRequestResponse.Builder opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
opcWorkRequestId
- the value to setpublic UpdatePullRequestResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
opcRequestId
- the value to setpublic UpdatePullRequestResponse.Builder pullRequest(PullRequest pullRequest)
The returned PullRequest
instance.
pullRequest
- the value to setpublic UpdatePullRequestResponse.Builder copy(UpdatePullRequestResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<UpdatePullRequestResponse>
o
- other request from which to copy valuespublic UpdatePullRequestResponse build()
Build the response object.
build
in interface BmcResponse.Builder<UpdatePullRequestResponse>
Copyright © 2016–2024. All rights reserved.