Package tech.kronicle.sdk.models
Class GraphNode
- java.lang.Object
-
- tech.kronicle.sdk.models.GraphNode
-
- All Implemented Interfaces:
ObjectWithComponentId
public final class GraphNode extends java.lang.Object implements ObjectWithComponentId
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphNode.GraphNodeBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GraphNode.GraphNodeBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetComponentId()java.lang.StringgetName()java.util.List<@Valid Tag>getTags()inthashCode()GraphNode.GraphNodeBuildertoBuilder()java.lang.StringtoString()GraphNodewithComponentId(java.lang.String componentId)GraphNodewithName(java.lang.String name)GraphNodewithTags(java.util.List<@Valid Tag> tags)
-
-
-
Constructor Detail
-
GraphNode
public GraphNode(java.lang.String componentId, java.lang.String name, java.util.List<@Valid Tag> tags)
-
-
Method Detail
-
builder
public static GraphNode.GraphNodeBuilder builder()
-
toBuilder
public GraphNode.GraphNodeBuilder toBuilder()
-
getComponentId
public java.lang.String getComponentId()
- Specified by:
getComponentIdin interfaceObjectWithComponentId
-
getName
public java.lang.String getName()
-
getTags
public java.util.List<@Valid Tag> getTags()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withComponentId
public GraphNode withComponentId(java.lang.String componentId)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withName
public GraphNode withName(java.lang.String name)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-