public static class DeclinePullRequestResponse.Builder extends Object implements BmcResponse.Builder<DeclinePullRequestResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeclinePullRequestResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
DeclinePullRequestResponse |
build()
Build the response object.
|
DeclinePullRequestResponse.Builder |
copy(DeclinePullRequestResponse o)
Copy method to populate the builder with values from the given instance.
|
DeclinePullRequestResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
DeclinePullRequestResponse.Builder |
headers(Map<String,List<String>> headers) |
DeclinePullRequestResponse.Builder |
location(String location)
Relative URL of the newly created resource.
|
DeclinePullRequestResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
DeclinePullRequestResponse.Builder |
pullRequest(PullRequest pullRequest)
The returned
PullRequest instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public DeclinePullRequestResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<DeclinePullRequestResponse>
public DeclinePullRequestResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<DeclinePullRequestResponse>
public DeclinePullRequestResponse.Builder location(String location)
Relative URL of the newly created resource.
location
- the value to setpublic DeclinePullRequestResponse.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 DeclinePullRequestResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic DeclinePullRequestResponse.Builder pullRequest(PullRequest pullRequest)
The returned PullRequest
instance.
pullRequest
- the value to setpublic DeclinePullRequestResponse.Builder copy(DeclinePullRequestResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<DeclinePullRequestResponse>
o
- other request from which to copy valuespublic DeclinePullRequestResponse build()
Build the response object.
build
in interface BmcResponse.Builder<DeclinePullRequestResponse>
Copyright © 2016–2024. All rights reserved.