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

## Class OptionsStrategy.Builder

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

- Enclosing class:
    OptionsStrategy

      public static class OptionsStrategy.Builder
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `OptionsStrategy` | `create()`
    `OptionsStrategy.Builder` | `with(String key)` Adds an key to the configuration with the value of `true`.
    `OptionsStrategy.Builder` | `with(String key, Object value)` Adds an option to the configuration.

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

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

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### with

          public OptionsStrategy.Builder with(String key)

      Adds an key to the configuration with the value of `true`.

    - #### with

          public OptionsStrategy.Builder with(String key,
                                              Object value)

      Adds an option to the configuration.

    - #### create

          public OptionsStrategy create()

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