@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutEventsResult() |
Modifier and Type | Method and Description |
---|---|
PutEventsResult |
clone() |
boolean |
equals(Object obj) |
List<PutEventsResultEntry> |
getEntries()
The successfully and unsuccessfully ingested events results.
|
Integer |
getFailedEntryCount()
The number of failed entries.
|
int |
hashCode() |
void |
setEntries(Collection<PutEventsResultEntry> entries)
The successfully and unsuccessfully ingested events results.
|
void |
setFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
|
String |
toString()
Returns a string representation of this object.
|
PutEventsResult |
withEntries(Collection<PutEventsResultEntry> entries)
The successfully and unsuccessfully ingested events results.
|
PutEventsResult |
withEntries(PutEventsResultEntry... entries)
The successfully and unsuccessfully ingested events results.
|
PutEventsResult |
withFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
failedEntryCount
- The number of failed entries.public Integer getFailedEntryCount()
The number of failed entries.
public PutEventsResult withFailedEntryCount(Integer failedEntryCount)
The number of failed entries.
failedEntryCount
- The number of failed entries.public List<PutEventsResultEntry> getEntries()
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
public void setEntries(Collection<PutEventsResultEntry> entries)
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
entries
- The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry
has the event ID in it. Otherwise, you can use the error code and error message to identify the problem
with the entry.public PutEventsResult withEntries(PutEventsResultEntry... entries)
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry
has the event ID in it. Otherwise, you can use the error code and error message to identify the problem
with the entry.public PutEventsResult withEntries(Collection<PutEventsResultEntry> entries)
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
entries
- The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry
has the event ID in it. Otherwise, you can use the error code and error message to identify the problem
with the entry.public String toString()
toString
in class Object
Object.toString()
public PutEventsResult clone()