Class Vertex.VertexBuilder

  • Enclosing class:
    Vertex

    public static class Vertex.VertexBuilder
    extends Object
    The type Vertex builder.
    • Method Detail

      • build

        public Vertex build()
        Build vertex.
        Returns:
        the vertex
      • clearProperties

        public Vertex.VertexBuilder clearProperties()
        Clear properties vertex builder.
        Returns:
        the vertex builder
      • label

        public Vertex.VertexBuilder label​(String label)
        Label vertex builder.
        Parameters:
        label - the label
        Returns:
        the vertex builder
      • properties

        public Vertex.VertexBuilder properties​(Map<? extends String,​? extends String> properties)
        Properties vertex builder.
        Parameters:
        properties - the properties
        Returns:
        the vertex builder
      • property

        public Vertex.VertexBuilder property​(String propertyKey,
                                             String propertyValue)
        Property vertex builder.
        Parameters:
        propertyKey - the property key
        propertyValue - the property value
        Returns:
        the vertex builder