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()
void
setHostname
(String hostname) Set proxy hostname.void
setPassword
(String password) Set the password for authentication.void
Set port.void
Set proxy type.void
setUsername
(String username) Set the username used for authentication.
-
Constructor Details
-
ProxyConfigurationProperties
public ProxyConfigurationProperties()
-
-
Method Details
-
getType
- Specified by:
getType
in interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setType
Set proxy type.- Parameters:
type
- The proxy type.
-
getHostname
- Specified by:
getHostname
in interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setHostname
Set proxy hostname.- Parameters:
hostname
- The hostname.
-
getPort
- Specified by:
getPort
in interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setPort
Set port.- Parameters:
port
- The port of the host.
-
getUsername
- Specified by:
getUsername
in interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setUsername
Set the username used for authentication.- Parameters:
username
- The username.
-
getPassword
- Specified by:
getPassword
in interfacecom.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptions
-
setPassword
Set the password for authentication.- Parameters:
password
- The password.
-