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 in the dependency graph, where each edge represents a connection or dependency between two nodes.edges(Consumer<Edge.Builder>... edges) An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.nodes(Collection<Node> nodes) An array of nodes in the dependency graph, where each node represents a service or component.nodes(Consumer<Node.Builder>... nodes) An array of nodes in the dependency graph, where each node represents a service or component.An array of nodes in the dependency graph, where each node represents a service or component.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
-
nodes
An array of nodes in the dependency graph, where each node represents a service or component.
- Parameters:
nodes- An array of nodes in the dependency graph, where each node represents a service or component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
An array of nodes in the dependency graph, where each node represents a service or component.
- Parameters:
nodes- An array of nodes in the dependency graph, where each node represents a service or component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
An array of nodes in the dependency graph, where each node represents a service or component.
This is a convenience method that creates an instance of theNode.Builderavoiding the need to create one manually viaNode.builder().When the
Consumercompletes,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 in the dependency graph, where each edge represents a connection or dependency between two nodes.
- Parameters:
edges- An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.
- Parameters:
edges- An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
An array of edges in the dependency graph, where each edge represents a connection or dependency between two nodes.
This is a convenience method that creates an instance of theEdge.Builderavoiding the need to create one manually viaEdge.builder().When the
Consumercompletes,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:
-