Class PutRecordBatchResponseEntry
java.lang.Object
com.amazonaws.services.kinesisfirehose.model.PutRecordBatchResponseEntry
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The error code for an individual record result.The error message for an individual record result.The ID of the record.int
hashCode()
void
setErrorCode
(String errorCode) The error code for an individual record result.void
setErrorMessage
(String errorMessage) The error message for an individual record result.void
setRecordId
(String recordId) The ID of the record.toString()
Returns a string representation of this object; useful for testing and debugging.withErrorCode
(String errorCode) The error code for an individual record result.withErrorMessage
(String errorMessage) The error message for an individual record result.withRecordId
(String recordId) The ID of the record.
-
Constructor Details
-
PutRecordBatchResponseEntry
public PutRecordBatchResponseEntry()
-
-
Method Details
-
setRecordId
The ID of the record.
- Parameters:
recordId
- The ID of the record.
-
getRecordId
The ID of the record.
- Returns:
- The ID of the record.
-
withRecordId
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
The error code for an individual record result.
- Parameters:
errorCode
- The error code for an individual record result.
-
getErrorCode
The error code for an individual record result.
- Returns:
- The error code for an individual record result.
-
withErrorCode
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
The error message for an individual record result.
- Parameters:
errorMessage
- The error message for an individual record result.
-
getErrorMessage
The error message for an individual record result.
- Returns:
- The error message for an individual record result.
-
withErrorMessage
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-