Interface TraversalStrategy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TraversalStrategy.Builder,,TraversalStrategy> SdkBuilder<TraversalStrategy.Builder,,TraversalStrategy> SdkPojo
- Enclosing class:
TraversalStrategy
-
Method Summary
Modifier and TypeMethodDescriptionDirection of edge traversal.direction(TraversalDirection direction) Direction of edge traversal.Edge types to follow.edgeTypes(Collection<String> edgeTypes) Edge types to follow.The maximum traversal depth from the seed node, from 1 to 3.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
-
edgeTypes
Edge types to follow. When omitted, all edge types are traversed.
- Parameters:
edgeTypes- Edge types to follow. When omitted, all edge types are traversed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edgeTypes
Edge types to follow. When omitted, all edge types are traversed.
- Parameters:
edgeTypes- Edge types to follow. When omitted, all edge types are traversed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
direction
Direction of edge traversal.
Valid values:
-
OUTGOING- Follow edges pointing away from the current node (source -> target). -
INCOMING- Follow edges pointing toward the current node (target -> source). -
BOTH- Follow edges in both directions.
- Parameters:
direction- Direction of edge traversal.Valid values:
-
OUTGOING- Follow edges pointing away from the current node (source -> target). -
INCOMING- Follow edges pointing toward the current node (target -> source). -
BOTH- Follow edges in both directions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
direction
Direction of edge traversal.
Valid values:
-
OUTGOING- Follow edges pointing away from the current node (source -> target). -
INCOMING- Follow edges pointing toward the current node (target -> source). -
BOTH- Follow edges in both directions.
- Parameters:
direction- Direction of edge traversal.Valid values:
-
OUTGOING- Follow edges pointing away from the current node (source -> target). -
INCOMING- Follow edges pointing toward the current node (target -> source). -
BOTH- Follow edges in both directions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maxDepth
The maximum traversal depth from the seed node, from 1 to 3.
- Parameters:
maxDepth- The maximum traversal depth from the seed node, from 1 to 3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-