public static class UpdateMessagesResultEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateMessagesResultEntry |
build() |
UpdateMessagesResultEntry.Builder |
copy(UpdateMessagesResultEntry model) |
UpdateMessagesResultEntry.Builder |
errorCode(Integer errorCode)
The error code, in case the message was not successfully updated in the queue.
|
UpdateMessagesResultEntry.Builder |
errorMessage(String errorMessage)
A human-readable error message associated with the error code.
|
UpdateMessagesResultEntry.Builder |
id(Long id)
The ID of the message that’s been updated.
|
UpdateMessagesResultEntry.Builder |
visibleAfter(Date visibleAfter)
The time after which the message will be visible to other consumers, expressed in RFC
3339 timestamp format.
|
public UpdateMessagesResultEntry.Builder id(Long id)
The ID of the message that’s been updated.
id
- the value to setpublic UpdateMessagesResultEntry.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 UpdateMessagesResultEntry.Builder errorCode(Integer errorCode)
The error code, in case the message was not successfully updated in the queue.
errorCode
- the value to setpublic UpdateMessagesResultEntry.Builder errorMessage(String errorMessage)
A human-readable error message associated with the error code.
errorMessage
- the value to setpublic UpdateMessagesResultEntry build()
public UpdateMessagesResultEntry.Builder copy(UpdateMessagesResultEntry model)
Copyright © 2016–2024. All rights reserved.