Class ProxyConfigurationProperties
- java.lang.Object
-
- com.azure.spring.cloud.autoconfigure.properties.core.proxy.ProxyConfigurationProperties
-
- All Implemented Interfaces:
com.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
- Direct Known Subclasses:
AzureGlobalProperties.GlobalProxyConfigurationProperties
public class ProxyConfigurationProperties extends Object implements com.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
Common proxy properties for all Azure SDKs.
-
-
Constructor Summary
Constructors Constructor Description ProxyConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHostname()StringgetPassword()IntegergetPort()StringgetType()StringgetUsername()voidsetHostname(String hostname)Set proxy hostname.voidsetPassword(String password)Set the password for authentication.voidsetPort(Integer port)Set port.voidsetType(String type)Set proxy type.voidsetUsername(String username)Set the username used for authentication.
-
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setType
public void setType(String type)
Set proxy type.- Parameters:
type- The proxy type.
-
getHostname
public String getHostname()
- Specified by:
getHostnamein interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setHostname
public void setHostname(String hostname)
Set proxy hostname.- Parameters:
hostname- The hostname.
-
getPort
public Integer getPort()
- Specified by:
getPortin interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setPort
public void setPort(Integer port)
Set port.- Parameters:
port- The port of the host.
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setUsername
public void setUsername(String username)
Set the username used for authentication.- Parameters:
username- The username.
-
getPassword
public String getPassword()
- Specified by:
getPasswordin interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setPassword
public void setPassword(String password)
Set the password for authentication.- Parameters:
password- The password.
-
-