Package org.apache.storm.utils

# Class NimbusClient.Builder

java.lang.Object
org.apache.storm.utils.NimbusClient.Builder

Enclosing class:
  NimbusClient

public static class NimbusClient.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `NimbusClient.Builder`
  `asUser(String asUser)`
  `NimbusClient`
  `build()`
  `NimbusClient`
  `buildWithNimbusHostPort(String host, Integer port)`
  `NimbusClient.Builder`
  `forDaemon()`
  `static NimbusClient.Builder`
  `withConf(Map<String,Object> conf)`
  `NimbusClient.Builder`
  `withTimeout(Integer timeout)`

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

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

- ## Method Details

  - ### withConf

    public static NimbusClient.Builder withConf(Map<String,Object> conf)

  - ### asUser

    public NimbusClient.Builder asUser(String asUser)

  - ### withTimeout

    public NimbusClient.Builder withTimeout(Integer timeout)

  - ### forDaemon

    public NimbusClient.Builder forDaemon()

  - ### buildWithNimbusHostPort

    public NimbusClient buildWithNimbusHostPort(String host, Integer port) throws org.apache.storm.thrift.transport.TTransportException
    Throws:
      `org.apache.storm.thrift.transport.TTransportException`

  - ### build

    public NimbusClient build()