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

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

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

Message.setBody介绍

[英]The message's contents (not URL-encoded).
[中]消息的内容(非URL编码)。

代码示例

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

/**
 * <p>
 * The message's contents (not URL-encoded).
 * </p>
 * 
 * @param body
 *        The message's contents (not URL-encoded).
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Message withBody(String body) {
  setBody(body);
  return this;
}

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

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

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

/**
 * <p>
 * The message's contents (not URL-encoded).
 * </p>
 * 
 * @param body
 *        The message's contents (not URL-encoded).
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Message withBody(String body) {
  setBody(body);
  return this;
}

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

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

代码示例来源:origin: awslabs/amazon-sqs-java-extended-client-lib

LOG.info("S3 object read, Bucket name: " + s3MsgBucketName + ", Object key: " + s3MsgKey + ".");
message.setBody(origMsgBody);

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

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

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

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

相关文章