public static interface SparqlRecord.Builder extends SdkPojo, CopyableBuilder<SparqlRecord.Builder,SparqlRecord>
| Modifier and Type | Method and Description |
|---|---|
SparqlRecord.Builder |
commitTimestampInMillis(Long commitTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
|
default SparqlRecord.Builder |
data(Consumer<SparqlData.Builder> data)
The serialized SPARQL change record.
|
SparqlRecord.Builder |
data(SparqlData data)
The serialized SPARQL change record.
|
SparqlRecord.Builder |
eventId(Map<String,String> eventId)
The sequence identifier of the stream change record.
|
SparqlRecord.Builder |
isLastOp(Boolean isLastOp)
Only present if this operation is the last one in its transaction.
|
SparqlRecord.Builder |
op(String op)
The operation that created the change.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSparqlRecord.Builder commitTimestampInMillis(Long commitTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
commitTimestampInMillis - The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.SparqlRecord.Builder eventId(Map<String,String> eventId)
The sequence identifier of the stream change record.
eventId - The sequence identifier of the stream change record.SparqlRecord.Builder data(SparqlData data)
The serialized SPARQL change record. The serialization formats of each record are described in more detail in Serialization Formats in Neptune Streams.
data - The serialized SPARQL change record. The serialization formats of each record are described in more
detail in
Serialization Formats in Neptune Streams.default SparqlRecord.Builder data(Consumer<SparqlData.Builder> data)
The serialized SPARQL change record. The serialization formats of each record are described in more detail in Serialization Formats in Neptune Streams.
This is a convenience method that creates an instance of theSparqlData.Builder avoiding the need to
create one manually via SparqlData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to data(SparqlData).
data - a consumer that will call methods on SparqlData.Builderdata(SparqlData)SparqlRecord.Builder op(String op)
The operation that created the change.
op - The operation that created the change.SparqlRecord.Builder isLastOp(Boolean isLastOp)
Only present if this operation is the last one in its transaction. If present, it is set to true. It is useful for ensuring that an entire transaction is consumed.
isLastOp - Only present if this operation is the last one in its transaction. If present, it is set to true. It
is useful for ensuring that an entire transaction is consumed.Copyright © 2023. All rights reserved.