@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class PublishMessageRequest extends BmcRequest<MessageDetails>
Example: Click here to see how to use PublishMessageRequest.
Modifier and Type | Class and Description |
---|---|
static class |
PublishMessageRequest.Builder |
static class |
PublishMessageRequest.MessageType
Deprecated. Support for JSON is deprecated.
|
Constructor and Description |
---|
PublishMessageRequest() |
Modifier and Type | Method and Description |
---|---|
static PublishMessageRequest.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’.
|
MessageDetails |
getBody$()
Alternative accessor for the body parameter.
|
MessageDetails |
getMessageDetails()
The message to publish.
|
PublishMessageRequest.MessageType |
getMessageType()
Deprecated. Support for JSON is deprecated.
|
String |
getOpcRequestId()
The unique Oracle-assigned identifier for the request.
|
String |
getTopicId()
The OCID of
the topic.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
PublishMessageRequest.Builder |
toBuilder()
Return an instance of
PublishMessageRequest.Builder that allows you to modify request properties. |
String |
toString() |
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public MessageDetails getMessageDetails()
The message to publish.
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 PublishMessageRequest.MessageType getMessageType()
Deprecated. Support for JSON is deprecated. You can send a JSON payload even when transmitting the payload as a raw string. Configure your receiving system to read the raw payload as JSON format.
Type of message body in the request. For messageType
of JSON, a default key-value
pair is required. Example: {"default": "Alarm breached", "Email": "Alarm breached:
<url>"}.
public MessageDetails getBody$()
Alternative accessor for the body parameter.
getBody$
in class BmcRequest<MessageDetails>
public PublishMessageRequest.Builder toBuilder()
Return an instance of PublishMessageRequest.Builder
that allows you to modify request properties.
PublishMessageRequest.Builder
that allows you to modify request properties.public static PublishMessageRequest.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<MessageDetails>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<MessageDetails>
Copyright © 2016–2024. All rights reserved.