Package org.mandas.docker.client.builder
Interface ProxyConfiguration.Builder
- Enclosing interface:
- ProxyConfiguration
public static interface ProxyConfiguration.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build this configurationSet the host running the proxySet the password of the user in case of authenticated accessSet the port to which the proxy listensSet the user in case of authenticated access
-
Method Details
-
host
Set the host running the proxy- Parameters:
host
- the FQDN- Returns:
- this
-
port
Set the port to which the proxy listens- Parameters:
port
- a network port- Returns:
- this
-
username
Set the user in case of authenticated access- Parameters:
username
- the username- Returns:
- this
-
password
Set the password of the user in case of authenticated access- Parameters:
password
- the password of the user- Returns:
- this
-
build
ProxyConfiguration build()Build this configuration- Returns:
- a new
ProxyConfiguration
-