Package com.oracle.bmc.queue.model
Class UpdateMessagesResultEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.model.UpdateMessagesResultEntry.Builder
-
- Enclosing class:
- UpdateMessagesResultEntry
public static class UpdateMessagesResultEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public UpdateMessagesResultEntry.Builder id(Long id)
The ID of the message that’s been updated.- Parameters:
id
- the value to set- Returns:
- this builder
-
visibleAfter
public 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
- Parameters:
visibleAfter
- the value to set- Returns:
- this builder
-
errorCode
public UpdateMessagesResultEntry.Builder errorCode(Integer errorCode)
The error code, in case the message was not successfully updated in the queue.- Parameters:
errorCode
- the value to set- Returns:
- this builder
-
errorMessage
public UpdateMessagesResultEntry.Builder errorMessage(String errorMessage)
A human-readable error message associated with the error code.- Parameters:
errorMessage
- the value to set- Returns:
- this builder
-
build
public UpdateMessagesResultEntry build()
-
copy
public UpdateMessagesResultEntry.Builder copy(UpdateMessagesResultEntry model)
-
-