Class SGNode.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.cdkgraph.SGNode.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
@Stability(Experimental) public SGNode.Builder id(String id)
Sets the value ofSGNode.getId()- Parameters:
id- Node id within parent (unique only between parent child nodes). This parameter is required.- Returns:
this
-
nodeType
@Stability(Experimental) public SGNode.Builder nodeType(NodeTypeEnum nodeType)
Sets the value ofSGNode.getNodeType()- Parameters:
nodeType- Node type. This parameter is required.- Returns:
this
-
path
@Stability(Experimental) public SGNode.Builder path(String path)
Sets the value ofSGNode.getPath()- Parameters:
path- Node path. This parameter is required.- Returns:
this
-
cfnType
@Stability(Experimental) public SGNode.Builder cfnType(String cfnType)
Sets the value ofSGNode.getCfnType()- Parameters:
cfnType- CloudFormation resource type for this node.- Returns:
this
-
children
@Stability(Experimental) public SGNode.Builder children(Map<String,? extends SGNode> children)
Sets the value ofSGNode.getChildren()- Parameters:
children- Child node record.- Returns:
this
-
constructInfo
@Stability(Experimental) public SGNode.Builder constructInfo(ConstructInfo constructInfo)
Sets the value ofSGNode.getConstructInfo()- Parameters:
constructInfo- Synthesized construct information defining jii resolution data.- Returns:
this
-
edges
@Stability(Experimental) public SGNode.Builder edges(List<String> edges)
Sets the value ofSGNode.getEdges()- Parameters:
edges- List of edge UUIDs where this node is the source.- Returns:
this
-
logicalId
@Stability(Experimental) public SGNode.Builder logicalId(String logicalId)
Sets the value ofSGNode.getLogicalId()- Parameters:
logicalId- Logical id of the node, which is only unique within containing stack.- Returns:
this
-
parent
@Stability(Experimental) public SGNode.Builder parent(String parent)
Sets the value ofSGNode.getParent()- Parameters:
parent- UUID of node parent.- Returns:
this
-
stack
@Stability(Experimental) public SGNode.Builder stack(String stack)
Sets the value ofSGNode.getStack()- Parameters:
stack- UUID of node stack.- Returns:
this
-
uuid
@Stability(Experimental) public SGNode.Builder uuid(String uuid)
Sets the value ofSGEntity.getUuid()- Parameters:
uuid- Universally unique identity. This parameter is required.- Returns:
this
-
attributes
@Stability(Experimental) public SGNode.Builder attributes(Map<String,? extends Object> attributes)
Sets the value ofSGEntity.getAttributes()- Parameters:
attributes- Serializable entity attributes.- Returns:
this
-
flags
@Stability(Experimental) public SGNode.Builder flags(List<? extends FlagEnum> flags)
Sets the value ofSGEntity.getFlags()- Parameters:
flags- Serializable entity flags.- Returns:
this
-
metadata
@Stability(Experimental) public SGNode.Builder metadata(List<? extends software.constructs.MetadataEntry> metadata)
Sets the value ofSGEntity.getMetadata()- Parameters:
metadata- Serializable entity metadata.- Returns:
this
-
tags
@Stability(Experimental) public SGNode.Builder tags(Map<String,String> tags)
Sets the value ofSGEntity.getTags()- Parameters:
tags- Serializable entity tags.- Returns:
this
-
build
@Stability(Experimental) public SGNode build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SGNode>- Returns:
- a new instance of
SGNode - Throws:
NullPointerException- if any required attribute was not provided
-
-