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
All Methods Static Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
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()
-
-