@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)
Marshalls this structured data using the given
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; 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.
|
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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.