public static class ProxyConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProxyConfiguration |
build() |
ProxyConfiguration.Builder |
copy(ProxyConfiguration model) |
ProxyConfiguration.Builder |
forward(String forward)
The URL the proxy will forward to.
|
ProxyConfiguration.Builder |
hosts(List<String> hosts)
List of hosts.
|
ProxyConfiguration.Builder |
isEnabled(Boolean isEnabled)
Indicates if the proxy should be enabled or disabled.
|
ProxyConfiguration.Builder |
port(String port)
Listening port used for the proxy.
|
public ProxyConfiguration.Builder isEnabled(Boolean isEnabled)
Indicates if the proxy should be enabled or disabled. Default is enabled.
isEnabled
- the value to setpublic ProxyConfiguration.Builder hosts(List<String> hosts)
List of hosts.
hosts
- the value to setpublic ProxyConfiguration.Builder port(String port)
Listening port used for the proxy.
port
- the value to setpublic ProxyConfiguration.Builder forward(String forward)
The URL the proxy will forward to.
forward
- the value to setpublic ProxyConfiguration build()
public ProxyConfiguration.Builder copy(ProxyConfiguration model)
Copyright © 2016–2024. All rights reserved.