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