Interface DependencyGraph.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DependencyGraph.Builder,
,DependencyGraph> SdkBuilder<DependencyGraph.Builder,
,DependencyGraph> SdkPojo
- Enclosing class:
DependencyGraph
-
Method Summary
Modifier and TypeMethodDescriptionedges
(Collection<Edge> edges) An array of edges representing the connections and relationships between the nodes in the dependency graph.edges
(Consumer<Edge.Builder>... edges) An array of edges representing the connections and relationships between the nodes in the dependency graph.An array of edges representing the connections and relationships between the nodes in the dependency graph.nodes
(Collection<Node> nodes) An array of nodes representing the services, resources, or other entities in the dependency graph.nodes
(Consumer<Node.Builder>... nodes) An array of nodes representing the services, resources, or other entities in the dependency graph.An array of nodes representing the services, resources, or other entities in the dependency graph.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 Details
-
nodes
An array of nodes representing the services, resources, or other entities in the dependency graph.
- Parameters:
nodes
- An array of nodes representing the services, resources, or other entities in the dependency graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
An array of nodes representing the services, resources, or other entities in the dependency graph.
- Parameters:
nodes
- An array of nodes representing the services, resources, or other entities in the dependency graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
An array of nodes representing the services, resources, or other entities in the dependency graph.
This is a convenience method that creates an instance of theNode.Builder
avoiding the need to create one manually viaNode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodes(List<Node>)
.- Parameters:
nodes
- a consumer that will call methods onNode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
edges
An array of edges representing the connections and relationships between the nodes in the dependency graph.
- Parameters:
edges
- An array of edges representing the connections and relationships between the nodes in the dependency graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
An array of edges representing the connections and relationships between the nodes in the dependency graph.
- Parameters:
edges
- An array of edges representing the connections and relationships between the nodes in the dependency graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
An array of edges representing the connections and relationships between the nodes in the dependency graph.
This is a convenience method that creates an instance of theEdge.Builder
avoiding the need to create one manually viaEdge.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toedges(List<Edge>)
.- Parameters:
edges
- a consumer that will call methods onEdge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-