Interface RecordsEvent.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RecordsEvent.Builder,RecordsEvent>
,SdkBuilder<RecordsEvent.Builder,RecordsEvent>
,SdkPojo
- All Known Subinterfaces:
DefaultRecords.Builder
- All Known Implementing Classes:
RecordsEvent.BuilderImpl
- Enclosing class:
- RecordsEvent
public static interface RecordsEvent.Builder extends SdkPojo, CopyableBuilder<RecordsEvent.Builder,RecordsEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecordsEvent.Builder
payload(SdkBytes payload)
The byte array of partial, one or more result records.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
payload
RecordsEvent.Builder payload(SdkBytes payload)
The byte array of partial, one or more result records. S3 Select doesn't guarantee that a record will be self-contained in one record frame. To ensure continuous streaming of data, S3 Select might split the same record across multiple record frames instead of aggregating the results in memory. Some S3 clients (for example, the SDKforJava) handle this behavior by creating a
ByteStream
out of the response by default. Other clients might not handle this behavior by default. In those cases, you must aggregate the results on the client side and parse the response.- Parameters:
payload
- The byte array of partial, one or more result records. S3 Select doesn't guarantee that a record will be self-contained in one record frame. To ensure continuous streaming of data, S3 Select might split the same record across multiple record frames instead of aggregating the results in memory. Some S3 clients (for example, the SDKforJava) handle this behavior by creating aByteStream
out of the response by default. Other clients might not handle this behavior by default. In those cases, you must aggregate the results on the client side and parse the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-