Package com.oracle.bmc.streaming.model
Class PutMessagesDetailsEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.streaming.model.PutMessagesDetailsEntry.Builder
-
- Enclosing class:
- PutMessagesDetailsEntry
public static class PutMessagesDetailsEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutMessagesDetailsEntry
build()
PutMessagesDetailsEntry.Builder
copy(PutMessagesDetailsEntry model)
PutMessagesDetailsEntry.Builder
key(byte[] key)
The key of the message, expressed as a byte array up to 256 bytes in size.PutMessagesDetailsEntry.Builder
value(byte[] value)
The message, expressed as a byte array up to 1 MiB in size.
-
-
-
Method Detail
-
key
public PutMessagesDetailsEntry.Builder key(byte[] key)
The key of the message, expressed as a byte array up to 256 bytes in size.Messages with the same key are stored in the same partition.
- Parameters:
key
- the value to set- Returns:
- this builder
-
value
public PutMessagesDetailsEntry.Builder value(byte[] value)
The message, expressed as a byte array up to 1 MiB in size.- Parameters:
value
- the value to set- Returns:
- this builder
-
build
public PutMessagesDetailsEntry build()
-
copy
public PutMessagesDetailsEntry.Builder copy(PutMessagesDetailsEntry model)
-
-