Class SGGraphStore.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.cdkgraph.SGGraphStore.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SGGraphStore>
- Enclosing interface:
- SGGraphStore
@Stability(Experimental) public static final class SGGraphStore.Builder extends Object implements software.amazon.jsii.Builder<SGGraphStore>
A builder forSGGraphStore
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SGGraphStorebuild()Builds the configured instance.SGGraphStore.Builderedges(List<? extends SGEdge> edges)Sets the value ofSGGraphStore.getEdges()SGGraphStore.Buildertree(SGNode tree)Sets the value ofSGGraphStore.getTree()SGGraphStore.Builderversion(String version)Sets the value ofSGGraphStore.getVersion()
-
-
-
Method Detail
-
edges
@Stability(Experimental) public SGGraphStore.Builder edges(List<? extends SGEdge> edges)
Sets the value ofSGGraphStore.getEdges()- Parameters:
edges- List of edges. This parameter is required.- Returns:
this
-
tree
@Stability(Experimental) public SGGraphStore.Builder tree(SGNode tree)
Sets the value ofSGGraphStore.getTree()- Parameters:
tree- Node tree. This parameter is required.- Returns:
this
-
version
@Stability(Experimental) public SGGraphStore.Builder version(String version)
Sets the value ofSGGraphStore.getVersion()- Parameters:
version- Store version. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public SGGraphStore build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SGGraphStore>- Returns:
- a new instance of
SGGraphStore - Throws:
NullPointerException- if any required attribute was not provided
-
-