org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration

## Class ElementIdStrategy.Builder

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.ElementIdStrategy.Builder

- Enclosing class:
    ElementIdStrategy

      public static final class ElementIdStrategy.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ElementIdStrategy` | `create()`
    `ElementIdStrategy.Builder` | `idMaker(Supplier<Object> idMaker)` Creates a new unique identifier for the next created `Element`.
    `ElementIdStrategy.Builder` | `idPropertyKey(String idPropertyKey)` This key within which to hold the user-specified identifier.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### idMaker

          public ElementIdStrategy.Builder idMaker(Supplier<Object> idMaker)

      Creates a new unique identifier for the next created `Element`.

    - #### idPropertyKey

          public ElementIdStrategy.Builder idPropertyKey(String idPropertyKey)

      This key within which to hold the user-specified identifier. This field should be indexed by the underlying graph.

    - #### create

          public ElementIdStrategy create()

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.