public static final class IngressRecord.Builder
extends java.lang.Object
IngressRecord
.Modifier and Type | Method and Description |
---|---|
IngressRecord |
build() |
IngressRecord.Builder |
withApproximateArrivalTimestamp(long approximateArrivalTimestamp) |
IngressRecord.Builder |
withData(byte[] data) |
IngressRecord.Builder |
withPartitionKey(java.lang.String partitionKey) |
IngressRecord.Builder |
withSequenceNumber(java.lang.String sequenceNumber) |
IngressRecord.Builder |
withShardId(java.lang.String shardId) |
IngressRecord.Builder |
withStream(java.lang.String stream) |
public IngressRecord.Builder withData(byte[] data)
public IngressRecord.Builder withStream(java.lang.String stream)
public IngressRecord.Builder withShardId(java.lang.String shardId)
public IngressRecord.Builder withPartitionKey(java.lang.String partitionKey)
public IngressRecord.Builder withSequenceNumber(java.lang.String sequenceNumber)
public IngressRecord.Builder withApproximateArrivalTimestamp(long approximateArrivalTimestamp)
public IngressRecord build()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.