Package com.oracle.bmc.streaming.model
Class PutMessagesResultEntry.Builder
- java.lang.Object
- 
- com.oracle.bmc.streaming.model.PutMessagesResultEntry.Builder
 
- 
- Enclosing class:
- PutMessagesResultEntry
 
 public static class PutMessagesResultEntry.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PutMessagesResultEntrybuild()PutMessagesResultEntry.Buildercopy(PutMessagesResultEntry model)PutMessagesResultEntry.Buildererror(String error)The error code, in case the message was not successfully appended to the stream.PutMessagesResultEntry.BuildererrorMessage(String errorMessage)A human-readable error message associated with the error code.PutMessagesResultEntry.Builderoffset(Long offset)The offset of the message in the partition.PutMessagesResultEntry.Builderpartition(String partition)The ID of the partition where the message was stored.PutMessagesResultEntry.Buildertimestamp(Date timestamp)The timestamp indicating when the server appended the message to the stream.
 
- 
- 
- 
Method Detail- 
partitionpublic PutMessagesResultEntry.Builder partition(String partition) The ID of the partition where the message was stored.- Parameters:
- partition- the value to set
- Returns:
- this builder
 
 - 
offsetpublic PutMessagesResultEntry.Builder offset(Long offset) The offset of the message in the partition.- Parameters:
- offset- the value to set
- Returns:
- this builder
 
 - 
timestamppublic PutMessagesResultEntry.Builder timestamp(Date timestamp) The timestamp indicating when the server appended the message to the stream.- Parameters:
- timestamp- the value to set
- Returns:
- this builder
 
 - 
errorpublic PutMessagesResultEntry.Builder error(String error) The error code, in case the message was not successfully appended to the stream.- Parameters:
- error- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic PutMessagesResultEntry.Builder errorMessage(String errorMessage) A human-readable error message associated with the error code.- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
buildpublic PutMessagesResultEntry build() 
 - 
copypublic PutMessagesResultEntry.Builder copy(PutMessagesResultEntry model) 
 
- 
 
-