com.amazonaws.services.sqs.model.Message.setMD5OfMessageAttributes()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(137)

本文整理了Java中com.amazonaws.services.sqs.model.Message.setMD5OfMessageAttributes()方法的一些代码示例,展示了Message.setMD5OfMessageAttributes()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.setMD5OfMessageAttributes()方法的具体详情如下:
包路径:com.amazonaws.services.sqs.model.Message
类名称:Message
方法名:setMD5OfMessageAttributes

Message.setMD5OfMessageAttributes介绍

[英]An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
[中]非URL编码的消息属性字符串的MD5摘要。这可以用来验证Amazon SQS是否正确接收了消息。Amazon SQS第一个URL在创建MD5摘要之前对消息进行解码。有关MD5的信息,请参见RFC1321

代码示例

代码示例来源:origin: aws/aws-sdk-java

/**
 * <p>
 * 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 <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.
 * </p>
 * 
 * @param 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 <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Message withMD5OfMessageAttributes(String mD5OfMessageAttributes) {
  setMD5OfMessageAttributes(mD5OfMessageAttributes);
  return this;
}

代码示例来源:origin: aws/aws-sdk-java

message.setMD5OfMessageAttributes(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;

代码示例来源:origin: com.amazonaws/aws-java-sdk-sqs

/**
 * <p>
 * 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 <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.
 * </p>
 * 
 * @param 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 <a href="https://www.ietf.org/rfc/rfc1321.txt">RFC1321</a>.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Message withMD5OfMessageAttributes(String mD5OfMessageAttributes) {
  setMD5OfMessageAttributes(mD5OfMessageAttributes);
  return this;
}

代码示例来源:origin: aws-amplify/aws-sdk-android

message.setMD5OfMessageAttributes(StringStaxUnmarshaller.getInstance()
    .unmarshall(context));
continue;

代码示例来源:origin: com.amazonaws/aws-java-sdk-sqs

message.setMD5OfMessageAttributes(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;

代码示例来源:origin: com.amazonaws/aws-android-sdk-sqs

message.setMD5OfMessageAttributes(StringStaxUnmarshaller.getInstance()
    .unmarshall(context));
continue;

相关文章