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