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 -
Method Summary
Modifier and TypeMethodDescriptiongetPort()getType()voidsetHostname(String hostname) Set proxy hostname.voidsetPassword(String password) Set the password for authentication.voidSet port.voidSet proxy type.voidsetUsername(String username) Set the username used for authentication.
-
Constructor Details
-
ProxyConfigurationProperties
public ProxyConfigurationProperties()
-
-
Method Details
-
getType
- Specified by:
getTypein interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setType
Set proxy type.- Parameters:
type- The proxy type.
-
getHostname
- Specified by:
getHostnamein interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setHostname
Set proxy hostname.- Parameters:
hostname- The hostname.
-
getPort
- Specified by:
getPortin interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setPort
Set port.- Parameters:
port- The port of the host.
-
getUsername
- Specified by:
getUsernamein interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setUsername
Set the username used for authentication.- Parameters:
username- The username.
-
getPassword
- Specified by:
getPasswordin interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setPassword
Set the password for authentication.- Parameters:
password- The password.
-