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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PutRecordBatchResponseEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutRecordBatchResponseEntry
clone()
boolean
equals(Object obj)
String
getErrorCode()
The error code for an individual record result.String
getErrorMessage()
The error message for an individual record result.String
getRecordId()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.PutRecordBatchResponseEntry
withErrorCode(String errorCode)
The error code for an individual record result.PutRecordBatchResponseEntry
withErrorMessage(String errorMessage)
The error message for an individual record result.PutRecordBatchResponseEntry
withRecordId(String recordId)
The ID of the record.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutRecordBatchResponseEntry clone()
-
-