Builder

public abstract class Builder

Builder for ProxyOptions.

Constructors

Link copied to clipboard
public void ProxyOptions.Builder()

Functions

Link copied to clipboard
public abstract ProxyOptions build()
Link copied to clipboard
@CanIgnoreReturnValue()
public ProxyOptions.Builder clearHost()
Clears the value of host field.
Link copied to clipboard
@CanIgnoreReturnValue()
public ProxyOptions.Builder clearPassword()
Clears the value of password field.
Link copied to clipboard
@CanIgnoreReturnValue()
public ProxyOptions.Builder clearPort()
Clears the value of port field.
Link copied to clipboard
@CanIgnoreReturnValue()
public ProxyOptions.Builder clearType()
Clears the value of type field.
Link copied to clipboard
@CanIgnoreReturnValue()
public ProxyOptions.Builder clearUsername()
Clears the value of username field.
Link copied to clipboard
public abstract ProxyOptions.Builder host(String host)
Setter for host.
Link copied to clipboard
public abstract ProxyOptions.Builder password(String password)
Setter for password.
Link copied to clipboard
public abstract ProxyOptions.Builder port(Integer port)
Setter for port.
Link copied to clipboard
public abstract ProxyOptions.Builder type(ProxyType type)
Setter for type.
@CanIgnoreReturnValue()
public ProxyOptions.Builder type(ProxyType.Known knownType)
Setter for type given a known enum.
@CanIgnoreReturnValue()
public ProxyOptions.Builder type(String type)
Setter for type given a string.
Link copied to clipboard
public abstract ProxyOptions.Builder username(String username)
Setter for username.