@Generated(value="OracleSDKGenerator", comments="API Version: 20180418") public class GetMessagesRequest extends BmcRequest<Void>
Example: Click here to see how to use GetMessagesRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
GetMessagesRequest.Builder |
| Constructor and Description |
|---|
GetMessagesRequest() |
| Modifier and Type | Method and Description |
|---|---|
static GetMessagesRequest.Builder |
builder()
Return a new builder for this request object.
|
boolean |
equals(Object o) |
String |
getCursor()
The cursor used to consume the stream.
|
Integer |
getLimit()
The maximum number of messages to return.
|
String |
getOpcRequestId()
The unique Oracle-assigned identifier for the request.
|
String |
getStreamId()
The OCID of the stream.
|
int |
hashCode() |
GetMessagesRequest.Builder |
toBuilder()
Return an instance of
GetMessagesRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continuepublic String getStreamId()
The OCID of the stream.
public String getCursor()
The cursor used to consume the stream.
public Integer getLimit()
The maximum number of messages to return. You can specify any value up to 10000. By default, the service returns as many messages as possible. Consider your average message size to help avoid exceeding throughput on the stream.
public String getOpcRequestId()
The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
public GetMessagesRequest.Builder toBuilder()
Return an instance of GetMessagesRequest.Builder that allows you to modify request properties.
GetMessagesRequest.Builder that allows you to modify request properties.public static GetMessagesRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
equals in class BmcRequest<Void>public int hashCode()
hashCode in class BmcRequest<Void>Copyright © 2016–2022. All rights reserved.