Package com.oracle.bmc.streaming.model
Class PutMessagesResult.Builder
- java.lang.Object
- 
- com.oracle.bmc.streaming.model.PutMessagesResult.Builder
 
- 
- Enclosing class:
- PutMessagesResult
 
 public static class PutMessagesResult.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PutMessagesResultbuild()PutMessagesResult.Buildercopy(PutMessagesResult model)PutMessagesResult.Builderentries(List<PutMessagesResultEntry> entries)An array of items representing the result of each message.PutMessagesResult.Builderfailures(Integer failures)The number of messages that failed to be added to the stream.
 
- 
- 
- 
Method Detail- 
failurespublic PutMessagesResult.Builder failures(Integer failures) The number of messages that failed to be added to the stream.- Parameters:
- failures- the value to set
- Returns:
- this builder
 
 - 
entriespublic PutMessagesResult.Builder entries(List<PutMessagesResultEntry> entries) An array of items representing the result of each message.The order is guaranteed to be the same as in the PutMessagesDetails object. If a message was successfully appended to the stream, the entry includes the offset, partition, and timestamp. If a message failed to be appended to the stream, the entry includes the error and errorMessage. - Parameters:
- entries- the value to set
- Returns:
- this builder
 
 - 
buildpublic PutMessagesResult build() 
 - 
copypublic PutMessagesResult.Builder copy(PutMessagesResult model) 
 
- 
 
-