public static class PutMessage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PutMessage |
build() |
PutMessage.Builder |
copy(PutMessage model) |
PutMessage.Builder |
expireAfter(Date expireAfter)
The time after which the message will be automatically deleted, expressed in RFC
3339 timestamp format.
|
PutMessage.Builder |
id(Long id)
The ID of the message.
|
public PutMessage.Builder id(Long id)
The ID of the message.
id
- the value to setpublic PutMessage.Builder expireAfter(Date expireAfter)
The time after which the message will be automatically deleted, expressed in RFC 3339 timestamp format.
Example: 2018-04-20T00:00:07.405Z
expireAfter
- the value to setpublic PutMessage build()
public PutMessage.Builder copy(PutMessage model)
Copyright © 2016–2024. All rights reserved.