Interface PropertygraphRecord.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PropertygraphRecord.Builder,,- PropertygraphRecord> - SdkBuilder<PropertygraphRecord.Builder,,- PropertygraphRecord> - SdkPojo
- Enclosing class:
- PropertygraphRecord
@Mutable
@NotThreadSafe
public static interface PropertygraphRecord.Builder
extends SdkPojo, CopyableBuilder<PropertygraphRecord.Builder,PropertygraphRecord> 
- 
Method SummaryModifier and TypeMethodDescriptioncommitTimestampInMillis(Long commitTimestampInMillis) The time at which the commit for the transaction was requested, in milliseconds from the Unix epoch.default PropertygraphRecord.BuilderThe serialized Gremlin or openCypher change record.data(PropertygraphData data) The serialized Gremlin or openCypher change record.The sequence identifier of the stream change record.Only present if this operation is the last one in its transaction.The operation that created the change.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
commitTimestampInMillisThe 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.
 
- 
eventIdThe 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.
 
- 
dataThe serialized Gremlin or openCypher change record. - Parameters:
- data- The serialized Gremlin or openCypher change record.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataThe serialized Gremlin or openCypher change record. This is a convenience method that creates an instance of thePropertygraphData.Builderavoiding the need to create one manually viaPropertygraphData.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(PropertygraphData).- Parameters:
- data- a consumer that will call methods on- PropertygraphData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
opThe 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.
 
- 
isLastOpOnly 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.
 
 
-