Package com.oracle.bmc.queue.model
Class MessageMetadata.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.model.MessageMetadata.Builder
-
- Enclosing class:
- MessageMetadata
public static class MessageMetadata.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageMetadatabuild()MessageMetadata.BuilderchannelId(String channelId)The channel ID which specifies the channel to publish or retrieve messages.MessageMetadata.Buildercopy(MessageMetadata model)MessageMetadata.BuildercustomProperties(Map<String,String> customProperties)Additional message properties
-
-
-
Method Detail
-
channelId
public MessageMetadata.Builder channelId(String channelId)
The channel ID which specifies the channel to publish or retrieve messages.- Parameters:
channelId- the value to set- Returns:
- this builder
-
customProperties
public MessageMetadata.Builder customProperties(Map<String,String> customProperties)
Additional message properties- Parameters:
customProperties- the value to set- Returns:
- this builder
-
build
public MessageMetadata build()
-
copy
public MessageMetadata.Builder copy(MessageMetadata model)
-
-