@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)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal
to ‘this’.
|
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()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
GetMessagesRequest.Builder |
toBuilder()
Return an instance of
GetMessagesRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public 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)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2024. All rights reserved.