Class HttpProxyConfig
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.HttpProxyConfigResponse
com.azure.resourcemanager.hybridcontainerservice.models.HttpProxyConfig
Configurations for provisioning the cluster with HTTP proxy servers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpassword()
Get the password property: Password to use for connecting to proxy server.void
validate()
Validates the instance.withHttpProxy
(String httpProxy) Set the httpProxy property: The HTTP proxy server endpoint to use.withHttpsProxy
(String httpsProxy) Set the httpsProxy property: The HTTPS proxy server endpoint to use.withNoProxy
(List<String> noProxy) Set the noProxy property: The endpoints that should not go through proxy.withPassword
(String password) Set the password property: Password to use for connecting to proxy server.withTrustedCa
(String trustedCa) Set the trustedCa property: Alternative CA cert to use for connecting to proxy servers.withUsername
(String username) Set the username property: Username to use for connecting to proxy server.Methods inherited from class com.azure.resourcemanager.hybridcontainerservice.models.HttpProxyConfigResponse
httpProxy, httpsProxy, noProxy, trustedCa, username
-
Constructor Details
-
HttpProxyConfig
public HttpProxyConfig()Creates an instance of HttpProxyConfig class.
-
-
Method Details
-
password
Get the password property: Password to use for connecting to proxy server.- Returns:
- the password value.
-
withPassword
Set the password property: Password to use for connecting to proxy server.- Parameters:
password
- the password value to set.- Returns:
- the HttpProxyConfig object itself.
-
withHttpProxy
Set the httpProxy property: The HTTP proxy server endpoint to use.- Overrides:
withHttpProxy
in classHttpProxyConfigResponse
- Parameters:
httpProxy
- the httpProxy value to set.- Returns:
- the HttpProxyConfigResponse object itself.
-
withHttpsProxy
Set the httpsProxy property: The HTTPS proxy server endpoint to use.- Overrides:
withHttpsProxy
in classHttpProxyConfigResponse
- Parameters:
httpsProxy
- the httpsProxy value to set.- Returns:
- the HttpProxyConfigResponse object itself.
-
withNoProxy
Set the noProxy property: The endpoints that should not go through proxy.- Overrides:
withNoProxy
in classHttpProxyConfigResponse
- Parameters:
noProxy
- the noProxy value to set.- Returns:
- the HttpProxyConfigResponse object itself.
-
withTrustedCa
Set the trustedCa property: Alternative CA cert to use for connecting to proxy servers.- Overrides:
withTrustedCa
in classHttpProxyConfigResponse
- Parameters:
trustedCa
- the trustedCa value to set.- Returns:
- the HttpProxyConfigResponse object itself.
-
withUsername
Set the username property: Username to use for connecting to proxy server.- Overrides:
withUsername
in classHttpProxyConfigResponse
- Parameters:
username
- the username value to set.- Returns:
- the HttpProxyConfigResponse object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classHttpProxyConfigResponse
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-