Class PutRecordBatchResponseEntry
java.lang.Object
software.amazon.awssdk.services.firehose.model.PutRecordBatchResponseEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PutRecordBatchResponseEntry.Builder,PutRecordBatchResponseEntry>
@Generated("software.amazon.awssdk:codegen")
public final class PutRecordBatchResponseEntry
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<PutRecordBatchResponseEntry.Builder,PutRecordBatchResponseEntry>
Contains the result for an individual record from a PutRecordBatch request. If the record is successfully added to your Firehose stream, it receives a record ID. If the record fails to be added to your Firehose stream, the result includes an error code and an error message.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe error code for an individual record result.final StringThe error message for an individual record result.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringrecordId()The ID of the record.static Class<? extends PutRecordBatchResponseEntry.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
recordId
The ID of the record.
- Returns:
- The ID of the record.
-
errorCode
The error code for an individual record result.
- Returns:
- The error code for an individual record result.
-
errorMessage
The error message for an individual record result.
- Returns:
- The error message for an individual record result.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutRecordBatchResponseEntry.Builder,PutRecordBatchResponseEntry>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-