Class PutRecordBatchResponseEntry

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

public class PutRecordBatchResponseEntry extends Object implements Serializable, Cloneable

Contains the result for an individual record from a PutRecordBatch request. If the record is successfully added to your delivery stream, it receives a record ID. If the record fails to be added to your delivery stream, the result includes an error code and an error message.

See Also:
  • Constructor Details

    • PutRecordBatchResponseEntry

      public PutRecordBatchResponseEntry()
  • Method Details

    • setRecordId

      public void setRecordId(String recordId)

      The ID of the record.

      Parameters:
      recordId - The ID of the record.
    • getRecordId

      public String getRecordId()

      The ID of the record.

      Returns:
      The ID of the record.
    • withRecordId

      public PutRecordBatchResponseEntry withRecordId(String recordId)

      The ID of the record.

      Parameters:
      recordId - The ID of the record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setErrorCode

      public void setErrorCode(String errorCode)

      The error code for an individual record result.

      Parameters:
      errorCode - The error code for an individual record result.
    • getErrorCode

      public String getErrorCode()

      The error code for an individual record result.

      Returns:
      The error code for an individual record result.
    • withErrorCode

      public PutRecordBatchResponseEntry withErrorCode(String errorCode)

      The error code for an individual record result.

      Parameters:
      errorCode - The error code for an individual record result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setErrorMessage

      public void setErrorMessage(String errorMessage)

      The error message for an individual record result.

      Parameters:
      errorMessage - The error message for an individual record result.
    • getErrorMessage

      public String getErrorMessage()

      The error message for an individual record result.

      Returns:
      The error message for an individual record result.
    • withErrorMessage

      public PutRecordBatchResponseEntry withErrorMessage(String errorMessage)

      The error message for an individual record result.

      Parameters:
      errorMessage - The error message for an individual record result.
      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

      Overrides:
      clone in class Object