本文整理了Java中com.amazonaws.services.sqs.model.Message.setMessageId()
方法的一些代码示例,展示了Message.setMessageId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.setMessageId()
方法的具体详情如下:
包路径:com.amazonaws.services.sqs.model.Message
类名称:Message
方法名:setMessageId
[英]A unique identifier for the message. Message IDs are considered unique across all AWS accounts for an extended period of time.
[中]消息的唯一标识符。在很长一段时间内,所有AWS帐户中的消息ID都被认为是唯一的。
代码示例来源:origin: aws/aws-sdk-java
/**
* <p>
* A unique identifier for the message. A <code>MessageId</code>is considered unique across all AWS accounts for an
* extended period of time.
* </p>
*
* @param messageId
* A unique identifier for the message. A <code>MessageId</code>is considered unique across all AWS accounts
* for an extended period of time.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Message withMessageId(String messageId) {
setMessageId(messageId);
return this;
}
代码示例来源:origin: aws/aws-sdk-java
message.setMessageId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-java-sdk-sqs
/**
* <p>
* A unique identifier for the message. A <code>MessageId</code>is considered unique across all AWS accounts for an
* extended period of time.
* </p>
*
* @param messageId
* A unique identifier for the message. A <code>MessageId</code>is considered unique across all AWS accounts
* for an extended period of time.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Message withMessageId(String messageId) {
setMessageId(messageId);
return this;
}
代码示例来源:origin: aws-amplify/aws-sdk-android
message.setMessageId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-java-sdk-sqs
message.setMessageId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-android-sdk-sqs
message.setMessageId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
内容来源于网络,如有侵权,请联系作者删除!