public static class GetMessagesResponse.Builder extends Object implements BmcResponse.Builder<GetMessagesResponse>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GetMessagesResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetMessagesResponse |
build()
Build the response object.
|
GetMessagesResponse.Builder |
copy(GetMessagesResponse o)
Copy method to populate the builder with values from the given instance.
|
GetMessagesResponse.Builder |
headers(Map<String,List<String>> headers) |
GetMessagesResponse.Builder |
items(List<Message> items)
A list of com.oracle.bmc.streaming.model.Message instances.
|
GetMessagesResponse.Builder |
opcNextCursor(String opcNextCursor)
The cursor to use to get the next batch of messages.
|
GetMessagesResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNotModifiedpublic GetMessagesResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__ in interface BmcResponse.Builder<GetMessagesResponse>public GetMessagesResponse.Builder headers(Map<String,List<String>> headers)
headers in interface BmcResponse.Builder<GetMessagesResponse>public GetMessagesResponse.Builder opcNextCursor(String opcNextCursor)
The cursor to use to get the next batch of messages.
opcNextCursor - the value to setpublic GetMessagesResponse.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 GetMessagesResponse.Builder items(List<Message> items)
A list of com.oracle.bmc.streaming.model.Message instances.
items - the value to setpublic GetMessagesResponse.Builder copy(GetMessagesResponse o)
Copy method to populate the builder with values from the given instance.
copy in interface BmcResponse.Builder<GetMessagesResponse>public GetMessagesResponse build()
Build the response object.
build in interface BmcResponse.Builder<GetMessagesResponse>Copyright © 2016–2022. All rights reserved.