Package com.oracle.bmc.queue.model
Class UpdatedMessage.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.model.UpdatedMessage.Builder
-
- Enclosing class:
- UpdatedMessage
public static class UpdatedMessage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatedMessage
build()
UpdatedMessage.Builder
copy(UpdatedMessage model)
UpdatedMessage.Builder
id(Long id)
The ID of the message that’s been updated.UpdatedMessage.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 UpdatedMessage.Builder id(Long id)
The ID of the message that’s been updated.- Parameters:
id
- the value to set- Returns:
- this builder
-
visibleAfter
public UpdatedMessage.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
-
build
public UpdatedMessage build()
-
copy
public UpdatedMessage.Builder copy(UpdatedMessage model)
-
-