Package io.getstream.client
Class Client.Builder
- java.lang.Object
-
- io.getstream.client.Client.Builder
-
- Enclosing class:
- Client
public static final class Client.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String apiKey, java.lang.String secret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Client
build()
Client.Builder
host(java.lang.String host)
Client.Builder
httpClient(HTTPClient httpClient)
Client.Builder
port(int port)
Client.Builder
region(Region region)
Client.Builder
region(java.lang.String region)
Client.Builder
scheme(java.lang.String scheme)
-
-
-
Method Detail
-
httpClient
public Client.Builder httpClient(HTTPClient httpClient)
-
scheme
public Client.Builder scheme(java.lang.String scheme)
-
host
public Client.Builder host(java.lang.String host)
-
port
public Client.Builder port(int port)
-
region
public Client.Builder region(Region region)
-
region
public Client.Builder region(java.lang.String region)
-
build
public Client build() throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
-
-