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 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PutRecordBatchResponseEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutRecordBatchResponseEntry.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
errorCode()
The error code for an individual record result.String
errorMessage()
The error message for an individual record result.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
recordId()
The ID of the record.List<SdkField<?>>
sdkFields()
static Class<? extends PutRecordBatchResponseEntry.Builder>
serializableBuilderClass()
PutRecordBatchResponseEntry.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
recordId
public final String recordId()
The ID of the record.
- Returns:
- The ID of the record.
-
errorCode
public final String errorCode()
The error code for an individual record result.
- Returns:
- The error code for an individual record result.
-
errorMessage
public final String errorMessage()
The error message for an individual record result.
- Returns:
- The error message for an individual record result.
-
toBuilder
public PutRecordBatchResponseEntry.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PutRecordBatchResponseEntry.Builder,PutRecordBatchResponseEntry>
-
builder
public static PutRecordBatchResponseEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutRecordBatchResponseEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
-