Package org.mandas.docker.client.builder
Interface ProxyConfiguration.Builder
-
- Enclosing interface:
- ProxyConfiguration
public static interface ProxyConfiguration.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyConfigurationbuild()Build this configurationProxyConfiguration.Builderhost(String host)Set the host running the proxyProxyConfiguration.Builderpassword(String password)Set the password of the user in case of authenticated accessProxyConfiguration.Builderport(String port)Set the port to which the proxy listensProxyConfiguration.Builderusername(String username)Set the user in case of authenticated access
-
-
-
Method Detail
-
host
ProxyConfiguration.Builder host(String host)
Set the host running the proxy- Parameters:
host- the FQDN- Returns:
- this
-
port
ProxyConfiguration.Builder port(String port)
Set the port to which the proxy listens- Parameters:
port- a network port- Returns:
- this
-
username
ProxyConfiguration.Builder username(String username)
Set the user in case of authenticated access- Parameters:
username- the username- Returns:
- this
-
password
ProxyConfiguration.Builder password(String 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
-
-