public static class PutMessagesDetailsEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
key
- the value to setpublic PutMessagesDetailsEntry.Builder value(byte[] value)
The message, expressed as a byte array up to 1 MiB in size.
value
- the value to setpublic PutMessagesDetailsEntry build()
public PutMessagesDetailsEntry.Builder copy(PutMessagesDetailsEntry model)
Copyright © 2016–2024. All rights reserved.