@Generated(value="software.amazon.awssdk:codegen") public 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse. |
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 |
messageId()
An attribute containing the
MessageId of the message sent to the queue. |
String |
sequenceNumber()
This parameter applies only to FIFO (first-in-first-out) queues.
|
static Class<? extends SendMessageResponse.Builder> |
serializableBuilderClass() |
SendMessageResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponsecopypublic 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 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<SendMessageResponse.Builder,SendMessageResponse>toBuilder in class AwsResponsepublic static SendMessageResponse.Builder builder()
public static Class<? extends SendMessageResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponseSdkResponse. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class) method will
again be available.getValueForField in class SdkResponsefieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.