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