Class ProxyConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.ProxyConfiguration.Builder
-
- Enclosing class:
- ProxyConfiguration
public static class ProxyConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
isEnabled
public ProxyConfiguration.Builder isEnabled(Boolean isEnabled)
Indicates if the proxy should be enabled or disabled.Default is enabled.
- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
hosts
public ProxyConfiguration.Builder hosts(List<String> hosts)
List of hosts.- Parameters:
hosts
- the value to set- Returns:
- this builder
-
port
public ProxyConfiguration.Builder port(String port)
Listening port used for the proxy.- Parameters:
port
- the value to set- Returns:
- this builder
-
forward
public ProxyConfiguration.Builder forward(String forward)
The URL the proxy will forward to.- Parameters:
forward
- the value to set- Returns:
- this builder
-
build
public ProxyConfiguration build()
-
copy
public ProxyConfiguration.Builder copy(ProxyConfiguration model)
-
-