@Generated(value="software.amazon.awssdk:codegen") public class Record extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<Record.Builder,Record>
The unit of data in a delivery stream.
Modifier and Type | Class and Description |
---|---|
static interface |
Record.Builder |
Modifier and Type | Method and Description |
---|---|
static Record.Builder |
builder() |
ByteBuffer |
data()
The data blob, which is base64-encoded when the blob is serialized.
|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
static Class<? extends Record.Builder> |
serializableBuilderClass() |
Record.Builder |
toBuilder() |
String |
toString() |
public ByteBuffer data()
The data blob, which is base64-encoded when the blob is serialized. The maximum size of the data blob, before base64-encoding, is 1,000 KB.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public Record.Builder toBuilder()
toBuilder
in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<Record.Builder,Record>
public static Record.Builder builder()
public static Class<? extends Record.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.