@Generated(value="software.amazon.awssdk:codegen") public class RecordsEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>, SelectObjectContentEventStream
The container for the records event.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RecordsEvent.Builder |
protected static class |
RecordsEvent.BuilderImpl |
SelectObjectContentEventStream.EventTypeUNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
RecordsEvent(RecordsEvent.BuilderImpl builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SelectObjectContentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype of
RecordsEvent. |
static RecordsEvent.Builder |
builder() |
RecordsEvent |
copy(Consumer<? super RecordsEvent.Builder> modifier) |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SdkBytes |
payload()
The byte array of partial, one or more result records.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RecordsEvent.Builder> |
serializableBuilderClass() |
RecordsEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcontBuilder, endBuilder, progressBuilder, recordsBuilder, sdkEventType, statsBuilderprotected RecordsEvent(RecordsEvent.BuilderImpl builder)
public final SdkBytes payload()
The byte array of partial, one or more result records.
public RecordsEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>public static RecordsEvent.Builder builder()
public static Class<? extends RecordsEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final RecordsEvent copy(Consumer<? super RecordsEvent.Builder> modifier)
copy in interface ToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>public void accept(SelectObjectContentResponseHandler.Visitor visitor)
RecordsEvent.accept in interface SelectObjectContentEventStreamvisitor - Visitor to invoke.Copyright © 2023. All rights reserved.