public static class DepthTrackerClient.DepthTrackerClientBuilder
extends java.lang.Object
Constructor and Description |
---|
DepthTrackerClientBuilder() |
Modifier and Type | Method and Description |
---|---|
DepthTrackerClient |
build()
Builds the client from the current parameters
|
DepthTrackerClient.DepthTrackerClientBuilder |
deploymentPath(java.lang.String deploymentPath) |
DepthTrackerClient.DepthTrackerClientBuilder |
host(java.lang.String host) |
DepthTrackerClient.DepthTrackerClientBuilder |
password(java.lang.String password) |
DepthTrackerClient.DepthTrackerClientBuilder |
reducePerLevel(int reducePerLevel) |
DepthTrackerClient.DepthTrackerClientBuilder |
session(ScrapingSession session) |
DepthTrackerClient.DepthTrackerClientBuilder |
siteName(java.lang.String siteName) |
DepthTrackerClient.DepthTrackerClientBuilder |
threadsPerLevel(int threadsPerLevel) |
DepthTrackerClient.DepthTrackerClientBuilder |
username(java.lang.String username) |
@NotNull public DepthTrackerClient.DepthTrackerClientBuilder session(@Nullable ScrapingSession session)
@NotNull public DepthTrackerClient.DepthTrackerClientBuilder siteName(@Nullable java.lang.String siteName)
@NotNull public DepthTrackerClient.DepthTrackerClientBuilder host(@Nullable java.lang.String host)
@NotNull public DepthTrackerClient.DepthTrackerClientBuilder threadsPerLevel(int threadsPerLevel)
@NotNull public DepthTrackerClient.DepthTrackerClientBuilder reducePerLevel(int reducePerLevel)
@NotNull public DepthTrackerClient.DepthTrackerClientBuilder deploymentPath(java.lang.String deploymentPath)
@NotNull public DepthTrackerClient.DepthTrackerClientBuilder username(@Nullable java.lang.String username)
@NotNull public DepthTrackerClient.DepthTrackerClientBuilder password(@Nullable java.lang.String password)
@NotNull public DepthTrackerClient build() throws java.io.IOException
java.io.IOException
- If there is an error connecting to the specified hostjava.lang.IllegalStateException
- If the builder is in an invalid state for object construction