public abstract static class MessageEntity.Builder
extends java.lang.Object
public abstract MessageEntity.Builder codeExpiredTs(long codeExpiredTs)
MessageEntity.Builder for the MessageEntity.codeExpiredTs() component of
the MessageEntity object.codeExpiredTs - the time in seconds at which the code expiresMessageEntity.Builder for the MessageEntity.codeExpiredTs() component of
the MessageEntity object.public abstract MessageEntity.Builder createdTs(long createdTs)
MessageEntity.Builder for the MessageEntity.createdTs() component of
the MessageEntity object.createdTs - the time in seconds at which the message was createdMessageEntity.Builder for the MessageEntity.createdTs() component of
the MessageEntity object.public abstract MessageEntity.Builder iotId(@Nonnull java.lang.String iotId)
MessageEntity.Builder for the MessageEntity.iotId() component of
the MessageEntity object.iotId - the identification number of the IoT deviceMessageEntity.Builder for the MessageEntity.iotId() component of
the MessageEntity object.public abstract MessageEntity.Builder iotType(@Nonnull java.lang.String iotType)
MessageEntity.Builder for the MessageEntity.iotType() component of
the MessageEntity object.iotType - the type of IoT deviceMessageEntity.Builder for the MessageEntity.iotType() component of
the MessageEntity object.public abstract MessageEntity.Builder messageId(@Nonnull java.lang.String messageId)
MessageEntity.Builder for the MessageEntity.messageId() component of
the MessageEntity object.messageId - the identification number of the messageMessageEntity.Builder for the MessageEntity.messageId() component of
the MessageEntity object.public abstract MessageEntity.Builder participant(@Nonnull MessageEntity.Participant participant)
MessageEntity.Builder for the MessageEntity.participant() component of
the MessageEntity object.participant - the MessageEntity.Participant of the message. This includes both the sender
and receiver of the messageMessageEntity.Builder for the MessageEntity.participant() component of
the MessageEntity object.public abstract MessageEntity.Builder status(@Nonnull MessageEntity.Status status)
MessageEntity.Builder for the MessageEntity.status() component of
the MessageEntity object.status - the MessageEntity.Status of the messageMessageEntity.Builder for the MessageEntity.status() component of
the MessageEntity object.public abstract MessageEntity.Builder type(@Nonnull MessageEntity.Type type)
MessageEntity.Builder for the MessageEntity.type() component of
the MessageEntity object.type - the MessageEntity.Type of the messageMessageEntity.Builder for the MessageEntity.type() component of
the MessageEntity object.public abstract MessageEntity.Builder updateTs(long updateTs)
MessageEntity.Builder for the MessageEntity.updateTs() component of
the MessageEntity object.updateTs - the time in seconds at which the message was updatedMessageEntity.Builder for the MessageEntity.updateTs() component of
the MessageEntity object.public abstract MessageEntity.Builder expiredTs(long expiredTs)
MessageEntity.Builder for the MessageEntity.expiredTs() component of
the MessageEntity object.expiredTs - the time in seconds at which the message was expiredMessageEntity.Builder for the MessageEntity.expiredTs() component of
the MessageEntity object.public abstract MessageEntity.Builder isExpired(boolean isExpired)
MessageEntity.Builder for the MessageEntity.isExpired() component of
the MessageEntity object.isExpired - boolean to indicate whether the message is expiredMessageEntity.Builder for the MessageEntity.isExpired() component of
the MessageEntity object.public abstract MessageEntity.Builder purpose(@Nonnull MessageEntity.Purpose purpose)
MessageEntity.Builder for the MessageEntity.purpose() component of
the MessageEntity object.purpose - the MessageEntity.Purpose of the message. This includes the purpose of the messageMessageEntity.Builder for the MessageEntity.purpose() component of
the MessageEntity object.public abstract MessageEntity.Builder code(java.lang.String code)
MessageEntity.Builder for the MessageEntity.code() component of
the MessageEntity object.code - the message codeMessageEntity.Builder for the MessageEntity.code() component of
the MessageEntity object.public abstract MessageEntity.Builder content(java.util.Map<java.lang.String,java.lang.String> content)
MessageEntity.Builder for the MessageEntity.content() component of
the MessageEntity object.content - the message contentMessageEntity.Builder for the MessageEntity.content() component of
the MessageEntity object.public abstract MessageEntity build()
MessageEntity object that is used to wrap various properties related
to messages.MessageEntity object that is used to wrap various properties related
to messages.