Package com.oracle.bmc.queue.model
Class GetMessage.Builder
- java.lang.Object
- 
- com.oracle.bmc.queue.model.GetMessage.Builder
 
- 
- Enclosing class:
- GetMessage
 
 public static class GetMessage.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetMessagebuild()GetMessage.Buildercontent(String content)The content of the message.GetMessage.Buildercopy(GetMessage model)GetMessage.BuildercreatedAt(Date createdAt)The time when message was created in queue.GetMessage.BuilderdeliveryCount(Integer deliveryCount)The number of times that the message has been delivered to a consumer.GetMessage.BuilderexpireAfter(Date expireAfter)The time after which the message will be automatically deleted, expressed in RFC 3339 timestamp format.GetMessage.Builderid(Long id)The ID of the message.GetMessage.Buildermetadata(MessageMetadata metadata)GetMessage.Builderreceipt(String receipt)A receipt is a base64urlencode opaque token, uniquely representing a message.GetMessage.BuildervisibleAfter(Date visibleAfter)The time after which the message will be visible to other consumers, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic GetMessage.Builder id(Long id) The ID of the message.This ID is only used for tracing and debugging purposes and isn’t used as a parameter in any request. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
contentpublic GetMessage.Builder content(String content) The content of the message.- Parameters:
- content- the value to set
- Returns:
- this builder
 
 - 
receiptpublic GetMessage.Builder receipt(String receipt) A receipt is a base64urlencode opaque token, uniquely representing a message.The receipt can be used to delete a message or update its visibility. - Parameters:
- receipt- the value to set
- Returns:
- this builder
 
 - 
deliveryCountpublic GetMessage.Builder deliveryCount(Integer deliveryCount) The number of times that the message has been delivered to a consumer.- Parameters:
- deliveryCount- the value to set
- Returns:
- this builder
 
 - 
visibleAfterpublic GetMessage.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
 
 - 
expireAfterpublic GetMessage.Builder expireAfter(Date expireAfter) The time after which the message will be automatically deleted, expressed in RFC 3339 timestamp format.Example: 2018-04-20T00:00:07.405Z - Parameters:
- expireAfter- the value to set
- Returns:
- this builder
 
 - 
createdAtpublic GetMessage.Builder createdAt(Date createdAt) The time when message was created in queue.Example: 2018-04-20T00:00:07.405Z - Parameters:
- createdAt- the value to set
- Returns:
- this builder
 
 - 
metadatapublic GetMessage.Builder metadata(MessageMetadata metadata) 
 - 
buildpublic GetMessage build() 
 - 
copypublic GetMessage.Builder copy(GetMessage model) 
 
- 
 
-