Class RecordsEvent.BuilderImpl
java.lang.Object
software.amazon.awssdk.services.s3.model.RecordsEvent.BuilderImpl
- All Implemented Interfaces:
SdkPojo,RecordsEvent.Builder,Buildable,CopyableBuilder<RecordsEvent.Builder,,RecordsEvent> SdkBuilder<RecordsEvent.Builder,RecordsEvent>
- Enclosing class:
- RecordsEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()final ByteBufferfinal RecordsEvent.BuilderThe byte array of partial, one or more result records.final voidsetPayload(ByteBuffer payload) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutationMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Constructor Details
-
BuilderImpl
protected BuilderImpl() -
BuilderImpl
-
-
Method Details
-
getPayload
-
setPayload
-
payload
Description copied from interface:RecordsEvent.BuilderThe 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 SDK for Java) handle this behavior by creating a
ByteStreamout 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.- Specified by:
payloadin interfaceRecordsEvent.Builder- 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 SDK for Java) handle this behavior by creating aByteStreamout 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.
-
build
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<RecordsEvent.Builder,RecordsEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-