Class ProxyConfiguration.Builder
- java.lang.Object
- 
- com.oracle.bmc.osmanagementhub.model.ProxyConfiguration.Builder
 
- 
- Enclosing class:
- ProxyConfiguration
 
 public static class ProxyConfiguration.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyConfigurationbuild()ProxyConfiguration.Buildercopy(ProxyConfiguration model)ProxyConfiguration.Builderforward(String forward)The URL the proxy will forward to.ProxyConfiguration.Builderhosts(List<String> hosts)List of hosts.ProxyConfiguration.BuilderisEnabled(Boolean isEnabled)Indicates if the proxy should be enabled or disabled.ProxyConfiguration.Builderport(String port)Listening port used for the proxy.
 
- 
- 
- 
Method Detail- 
isEnabledpublic 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
 
 - 
hostspublic ProxyConfiguration.Builder hosts(List<String> hosts) List of hosts.- Parameters:
- hosts- the value to set
- Returns:
- this builder
 
 - 
portpublic ProxyConfiguration.Builder port(String port) Listening port used for the proxy.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
forwardpublic ProxyConfiguration.Builder forward(String forward) The URL the proxy will forward to.- Parameters:
- forward- the value to set
- Returns:
- this builder
 
 - 
buildpublic ProxyConfiguration build() 
 - 
copypublic ProxyConfiguration.Builder copy(ProxyConfiguration model) 
 
- 
 
-