public static class MessageMetadata.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MessageMetadata |
build() |
MessageMetadata.Builder |
channelId(String channelId)
The channel ID which specifies the channel to publish or retrieve messages.
|
MessageMetadata.Builder |
copy(MessageMetadata model) |
MessageMetadata.Builder |
customProperties(Map<String,String> customProperties)
Additional message properties
|
public MessageMetadata.Builder channelId(String channelId)
The channel ID which specifies the channel to publish or retrieve messages.
channelId
- the value to setpublic MessageMetadata.Builder customProperties(Map<String,String> customProperties)
Additional message properties
customProperties
- the value to setpublic MessageMetadata build()
public MessageMetadata.Builder copy(MessageMetadata model)
Copyright © 2016–2024. All rights reserved.