public class Record
extends java.lang.Object
implements java.io.Serializable
The unit of data in a delivery stream.
Constructor and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getData()
The data blob, which is base64-encoded when the blob is serialized.
|
int |
hashCode() |
void |
setData(java.nio.ByteBuffer data)
The data blob, which is base64-encoded when the blob is serialized.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Record |
withData(java.nio.ByteBuffer data)
The data blob, which is base64-encoded when the blob is serialized.
|
public java.nio.ByteBuffer getData()
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 KiB.
Constraints:
Length: 0 - 1024000
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 KiB.
public void setData(java.nio.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 KiB.
Constraints:
Length: 0 - 1024000
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 KiB.
public Record withData(java.nio.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 KiB.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024000
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 KiB.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.