Interface SparqlRecord.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SparqlRecord.Builder,SparqlRecord>,SdkBuilder<SparqlRecord.Builder,SparqlRecord>,SdkPojo
- Enclosing class:
- SparqlRecord
public static interface SparqlRecord.Builder extends SdkPojo, CopyableBuilder<SparqlRecord.Builder,SparqlRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SparqlRecord.BuildercommitTimestampInMillis(Long commitTimestampInMillis)The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.default SparqlRecord.Builderdata(Consumer<SparqlData.Builder> data)The serialized SPARQL change record.SparqlRecord.Builderdata(SparqlData data)The serialized SPARQL change record.SparqlRecord.BuildereventId(Map<String,String> eventId)The sequence identifier of the stream change record.SparqlRecord.BuilderisLastOp(Boolean isLastOp)Only present if this operation is the last one in its transaction.SparqlRecord.Builderop(String op)The operation that created the change.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
commitTimestampInMillis
SparqlRecord.Builder commitTimestampInMillis(Long commitTimestampInMillis)
The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.
- Parameters:
commitTimestampInMillis- The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
SparqlRecord.Builder eventId(Map<String,String> eventId)
The sequence identifier of the stream change record.
- Parameters:
eventId- The sequence identifier of the stream change record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
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.
- Parameters:
data- The serialized SPARQL change record. The serialization formats of each record are described in more detail in Serialization Formats in Neptune Streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
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.Builderavoiding the need to create one manually viaSparqlData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(SparqlData).- Parameters:
data- a consumer that will call methods onSparqlData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
data(SparqlData)
-
op
SparqlRecord.Builder op(String op)
The operation that created the change.
- Parameters:
op- The operation that created the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isLastOp
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-