@Generated(value="software.amazon.awssdk:codegen") public final class Message extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Message.Builder,Message>
Information about a message.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Message.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Message.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
inputName()
The name of the input into which the message payload is transformed.
|
String |
messageId()
The ID to assign to the message.
|
SdkBytes |
payload()
The payload of the message.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Message.Builder> |
serializableBuilderClass() |
TimestampValue |
timestamp()
The timestamp associated with the message.
|
Message.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String messageId()
The ID to assign to the message. Within each batch sent, each "messageId" must be unique.
"messageId" must be unique.public final String inputName()
The name of the input into which the message payload is transformed.
public final SdkBytes payload()
The payload of the message. This can be a JSON string or a Base-64-encoded string representing binary data (in which case you must decode it).
public final TimestampValue timestamp()
The timestamp associated with the message.
public Message.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Message.Builder,Message>public static Message.Builder builder()
public static Class<? extends Message.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.