org.apache.tinkerpop.gremlin.driver

## Class Client.Settings

- java.lang.Object
- - org.apache.tinkerpop.gremlin.driver.Client.Settings

- Enclosing class:
    Client

      public static class Client.Settings
      extends Object

  Settings given to `Cluster.connect(Client.Settings)` that configures how a `Client` will behave.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Client.Settings.Builder`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Client.Settings.Builder` | `build()`
    `Optional<Client.SessionSettings>` | `getSession()` Determines if the `Client` is to be constructed with a session.

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

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

- - ### Method Detail

    - #### build

          public static Client.Settings.Builder build()

    - #### getSession

          public Optional<Client.SessionSettings> getSession()

      Determines if the `Client` is to be constructed with a session. If the value is present, then a session is expected.

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