public static class UpdateMessagesResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateMessagesResult |
build() |
UpdateMessagesResult.Builder |
clientFailures(Integer clientFailures)
The number of messages that failed to be updated in the queue because of a client failure
such as an invalid receipt or invalid
visibilityInSeconds . |
UpdateMessagesResult.Builder |
copy(UpdateMessagesResult model) |
UpdateMessagesResult.Builder |
entries(List<UpdateMessagesResultEntry> entries)
An array of items representing the result of each action.
|
UpdateMessagesResult.Builder |
serverFailures(Integer serverFailures)
The number of messages that failed to be updated in the queue because of a server
failure.
|
public UpdateMessagesResult.Builder serverFailures(Integer serverFailures)
The number of messages that failed to be updated in the queue because of a server failure.
serverFailures
- the value to setpublic UpdateMessagesResult.Builder clientFailures(Integer clientFailures)
The number of messages that failed to be updated in the queue because of a client failure
such as an invalid receipt or invalid visibilityInSeconds
.
clientFailures
- the value to setpublic UpdateMessagesResult.Builder entries(List<UpdateMessagesResultEntry> entries)
An array of items representing the result of each action. The order is guaranteed to be
the same as in the UpdateMessagesDetails
object. If a message was successfully
updated in the queue, the entry includes the id
and visibleAfter
fields.
If a message failed to be updated in the queue, the entry includes the errorCode
and errorMessage
fields.
entries
- the value to setpublic UpdateMessagesResult build()
public UpdateMessagesResult.Builder copy(UpdateMessagesResult model)
Copyright © 2016–2024. All rights reserved.