Interface PathEdge.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PathEdge.Builder,,PathEdge> SdkBuilder<PathEdge.Builder,,PathEdge> SdkPojo
- Enclosing class:
PathEdge
@Mutable
@NotThreadSafe
public static interface PathEdge.Builder
extends SdkPojo, CopyableBuilder<PathEdge.Builder,PathEdge>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PathEdge.BuilderedgeId(Consumer<EdgeIdentifier.Builder> edgeId) Edge identity: the (from, to) node pair.edgeId(EdgeIdentifier edgeId) Edge identity: the (from, to) node pair.properties(Map<String, AnyValue> properties) Arbitrary key-value properties stored on this edge.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
edgeId
Edge identity: the (from, to) node pair. Edges have no standalone ID. The edge type,
edgeType, is carried in properties.- Parameters:
edgeId- Edge identity: the (from, to) node pair. Edges have no standalone ID. The edge type,edgeType, is carried in properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edgeId
Edge identity: the (from, to) node pair. Edges have no standalone ID. The edge type,
This is a convenience method that creates an instance of theedgeType, is carried in properties.EdgeIdentifier.Builderavoiding the need to create one manually viaEdgeIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toedgeId(EdgeIdentifier).- Parameters:
edgeId- a consumer that will call methods onEdgeIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
properties
Arbitrary key-value properties stored on this edge.
- Parameters:
properties- Arbitrary key-value properties stored on this edge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-