Class PutEventsResult
- All Implemented Interfaces:
Serializable
,Cloneable
The result of the PutEvents operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of successfully and unsuccessfully ingested events results.The number of failed entries.int
hashCode()
void
setEntries
(Collection<PutEventsResultEntry> entries) A list of successfully and unsuccessfully ingested events results.void
setFailedEntryCount
(Integer failedEntryCount) The number of failed entries.toString()
Returns a string representation of this object; useful for testing and debugging.withEntries
(PutEventsResultEntry... entries) A list of successfully and unsuccessfully ingested events results.withEntries
(Collection<PutEventsResultEntry> entries) A list of successfully and unsuccessfully ingested events results.withFailedEntryCount
(Integer failedEntryCount) The number of failed entries.
-
Constructor Details
-
PutEventsResult
public PutEventsResult()
-
-
Method Details
-
setFailedEntryCount
The number of failed entries.
- Parameters:
failedEntryCount
- The number of failed entries.
-
getFailedEntryCount
The number of failed entries.
- Returns:
- The number of failed entries.
-
withFailedEntryCount
The number of failed entries.
- Parameters:
failedEntryCount
- The number of failed entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEntries
A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.
- Returns:
- A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.
-
setEntries
A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.
- Parameters:
entries
- A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.
-
withEntries
A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
orwithEntries(java.util.Collection)
if you want to override the existing values.- Parameters:
entries
- A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEntries
A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.
- Parameters:
entries
- A list of successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry will have the event ID in it. If not, then the ErrorCode and ErrorMessage can be used to identify the problem with the entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-