Class RecordsEvent
- java.lang.Object
-
- software.amazon.awssdk.services.s3.model.RecordsEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,SelectObjectContentEventStream,ToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>
- Direct Known Subclasses:
DefaultRecords
@Generated("software.amazon.awssdk:codegen") public class RecordsEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>, SelectObjectContentEventStream
The container for the records event.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecordsEvent.Builderprotected static classRecordsEvent.BuilderImpl-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream
SelectObjectContentEventStream.EventType
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream
UNKNOWN
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRecordsEvent(RecordsEvent.BuilderImpl builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SelectObjectContentResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofRecordsEvent.static RecordsEvent.Builderbuilder()RecordsEventcopy(Consumer<? super RecordsEvent.Builder> modifier)booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SdkBytespayload()The byte array of partial, one or more result records.List<SdkField<?>>sdkFields()static Class<? extends RecordsEvent.Builder>serializableBuilderClass()RecordsEvent.BuildertoBuilder()StringtoString()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.services.s3.model.SelectObjectContentEventStream
sdkEventType
-
-
-
-
Constructor Detail
-
RecordsEvent
protected RecordsEvent(RecordsEvent.BuilderImpl builder)
-
-
Method Detail
-
payload
public final SdkBytes payload()
The byte array of partial, one or more result records.
- Returns:
- The byte array of partial, one or more result records.
-
toBuilder
public RecordsEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>
-
builder
public static RecordsEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecordsEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
copy
public final RecordsEvent copy(Consumer<? super RecordsEvent.Builder> modifier)
- Specified by:
copyin interfaceToCopyableBuilder<RecordsEvent.Builder,RecordsEvent>
-
accept
public void accept(SelectObjectContentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofRecordsEvent.- Specified by:
acceptin interfaceSelectObjectContentEventStream- Parameters:
visitor- Visitor to invoke.
-
-