@Generated(value="software.amazon.awssdk:codegen") public final class SendMessageResponse extends SqsResponse implements ToCopyableBuilder<SendMessageResponse.Builder,SendMessageResponse>
The MD5OfMessageBody
and MessageId
elements.
Modifier and Type | Class and Description |
---|---|
static interface |
SendMessageResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static SendMessageResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
md5OfMessageAttributes()
An MD5 digest of the non-URL-encoded message attribute string.
|
String |
md5OfMessageBody()
An MD5 digest of the non-URL-encoded message attribute string.
|
String |
md5OfMessageSystemAttributes()
An MD5 digest of the non-URL-encoded message system attribute string.
|
String |
messageId()
An attribute containing the
MessageId of the message sent to the queue. |
List<SdkField<?>> |
sdkFields() |
String |
sequenceNumber()
This parameter applies only to FIFO (first-in-first-out) queues.
|
static Class<? extends SendMessageResponse.Builder> |
serializableBuilderClass() |
SendMessageResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String md5OfMessageBody()
An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
public String md5OfMessageAttributes()
An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
public String md5OfMessageSystemAttributes()
An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest.
public String messageId()
An attribute containing the MessageId
of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon Simple Queue Service Developer Guide.
MessageId
of the message sent to the queue. For more
information, see Queue and Message Identifiers in the Amazon Simple Queue Service Developer Guide.public String sequenceNumber()
This parameter applies only to FIFO (first-in-first-out) queues.
The large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a
particular MessageGroupId
.
The large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase
for a particular MessageGroupId
.
public SendMessageResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SendMessageResponse.Builder,SendMessageResponse>
toBuilder
in class AwsResponse
public static SendMessageResponse.Builder builder()
public static Class<? extends SendMessageResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.