Package com.oracle.bmc.queue.model
Class UpdateMessagesResult.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.model.UpdateMessagesResult.Builder
-
- Enclosing class:
- UpdateMessagesResult
public static class UpdateMessagesResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
serverFailures
public UpdateMessagesResult.Builder serverFailures(Integer serverFailures)
The number of messages that failed to be updated in the queue because of a server failure.- Parameters:
serverFailures
- the value to set- Returns:
- this builder
-
clientFailures
public 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.- Parameters:
clientFailures
- the value to set- Returns:
- this builder
-
entries
public 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.
- Parameters:
entries
- the value to set- Returns:
- this builder
-
build
public UpdateMessagesResult build()
-
copy
public UpdateMessagesResult.Builder copy(UpdateMessagesResult model)
-
-