@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRecordBatchResponseEntry extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
PutRecordBatchResponseEntry() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
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.
|
public void setRecordId(String recordId)
The ID of the record.
recordId
- The ID of the record.public String getRecordId()
The ID of the record.
public PutRecordBatchResponseEntry withRecordId(String recordId)
The ID of the record.
recordId
- The ID of the record.public void setErrorCode(String errorCode)
The error code for an individual record result.
errorCode
- The error code for an individual record result.public String getErrorCode()
The error code for an individual record result.
public PutRecordBatchResponseEntry withErrorCode(String errorCode)
The error code for an individual record result.
errorCode
- The error code for an individual record result.public void setErrorMessage(String errorMessage)
The error message for an individual record result.
errorMessage
- The error message for an individual record result.public String getErrorMessage()
The error message for an individual record result.
public PutRecordBatchResponseEntry withErrorMessage(String errorMessage)
The error message for an individual record result.
errorMessage
- The error message for an individual record result.public String toString()
toString
in class Object
Object.toString()
public PutRecordBatchResponseEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.