public abstract static class BadRecord.Record.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
<T> BadRecord.Record.Builder |
addCoderAndEncodedRecord(@Nullable Coder<T> coder,
T record) |
BadRecord.Record.Builder |
addHumanReadableJson(java.lang.Object record) |
abstract BadRecord.Record |
build() |
abstract BadRecord.Record.Builder |
setCoder(@Nullable java.lang.String coder) |
abstract BadRecord.Record.Builder |
setEncodedRecord(byte[] encodedRecord) |
abstract BadRecord.Record.Builder |
setHumanReadableJsonRecord(@Nullable java.lang.String jsonRecord) |
public abstract BadRecord.Record.Builder setHumanReadableJsonRecord(@Nullable java.lang.String jsonRecord)
public BadRecord.Record.Builder addHumanReadableJson(java.lang.Object record)
public abstract BadRecord.Record.Builder setEncodedRecord(byte[] encodedRecord)
public abstract BadRecord.Record.Builder setCoder(@Nullable java.lang.String coder)
public <T> BadRecord.Record.Builder addCoderAndEncodedRecord(@Nullable Coder<T> coder, T record)
public abstract BadRecord.Record build()