Class PutRecordBatchResult

java.lang.Object
com.amazonaws.services.kinesisfirehose.model.PutRecordBatchResult
All Implemented Interfaces:
Serializable, Cloneable

public class PutRecordBatchResult extends Object implements Serializable, Cloneable

Contains the output of PutRecordBatch.

See Also:
  • Constructor Details

    • PutRecordBatchResult

      public PutRecordBatchResult()
  • Method Details

    • setFailedPutCount

      public void setFailedPutCount(Integer failedPutCount)

      The number of unsuccessfully written records.

      Parameters:
      failedPutCount - The number of unsuccessfully written records.
    • getFailedPutCount

      public Integer getFailedPutCount()

      The number of unsuccessfully written records.

      Returns:
      The number of unsuccessfully written records.
    • withFailedPutCount

      public PutRecordBatchResult withFailedPutCount(Integer failedPutCount)

      The number of unsuccessfully written records.

      Parameters:
      failedPutCount - The number of unsuccessfully written records.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getRequestResponses

      public List<PutRecordBatchResponseEntry> getRequestResponses()

      The results for the individual records. The index of each element matches the same index in which records were sent.

      Returns:
      The results for the individual records. The index of each element matches the same index in which records were sent.
    • setRequestResponses

      public void setRequestResponses(Collection<PutRecordBatchResponseEntry> requestResponses)

      The results for the individual records. The index of each element matches the same index in which records were sent.

      Parameters:
      requestResponses - The results for the individual records. The index of each element matches the same index in which records were sent.
    • withRequestResponses

      public PutRecordBatchResult withRequestResponses(PutRecordBatchResponseEntry... requestResponses)

      The results for the individual records. The index of each element matches the same index in which records were sent.

      NOTE: This method appends the values to the existing list (if any). Use setRequestResponses(java.util.Collection) or withRequestResponses(java.util.Collection) if you want to override the existing values.

      Parameters:
      requestResponses - The results for the individual records. The index of each element matches the same index in which records were sent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRequestResponses

      public PutRecordBatchResult withRequestResponses(Collection<PutRecordBatchResponseEntry> requestResponses)

      The results for the individual records. The index of each element matches the same index in which records were sent.

      Parameters:
      requestResponses - The results for the individual records. The index of each element matches the same index in which records were sent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PutRecordBatchResult clone()
      Overrides:
      clone in class Object