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