Package uk.gov.gchq.gaffer.proxystore
Class ProxyStore.Builder
- java.lang.Object
-
- uk.gov.gchq.gaffer.proxystore.ProxyStore.Builder
-
- Enclosing class:
- ProxyStore
public static final class ProxyStore.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyStore
build()
ProxyStore.Builder
connectTimeout(int timeout)
ProxyStore.Builder
contextRoot(String contextRoot)
ProxyStore.Builder
graphId(String graphId)
ProxyStore.Builder
host(String host)
ProxyStore.Builder
jsonSerialiser(Class<? extends JSONSerialiser> serialiserClass)
ProxyStore.Builder
port(int port)
ProxyStore.Builder
readTimeout(int timeout)
-
-
-
Method Detail
-
host
public ProxyStore.Builder host(String host)
-
port
public ProxyStore.Builder port(int port)
-
contextRoot
public ProxyStore.Builder contextRoot(String contextRoot)
-
connectTimeout
public ProxyStore.Builder connectTimeout(int timeout)
-
readTimeout
public ProxyStore.Builder readTimeout(int timeout)
-
jsonSerialiser
public ProxyStore.Builder jsonSerialiser(Class<? extends JSONSerialiser> serialiserClass)
-
graphId
public ProxyStore.Builder graphId(String graphId)
-
build
public ProxyStore build()
-
-