Class HttpProxyConfigResponse

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.HttpProxyConfigResponse
Direct Known Subclasses:
HttpProxyConfig

public class HttpProxyConfigResponse extends Object
Configurations for provisioning the cluster with HTTP proxy servers.
  • Constructor Details

    • HttpProxyConfigResponse

      public HttpProxyConfigResponse()
      Creates an instance of HttpProxyConfigResponse class.
  • Method Details

    • httpProxy

      public String httpProxy()
      Get the httpProxy property: The HTTP proxy server endpoint to use.
      Returns:
      the httpProxy value.
    • withHttpProxy

      public HttpProxyConfigResponse withHttpProxy(String httpProxy)
      Set the httpProxy property: The HTTP proxy server endpoint to use.
      Parameters:
      httpProxy - the httpProxy value to set.
      Returns:
      the HttpProxyConfigResponse object itself.
    • httpsProxy

      public String httpsProxy()
      Get the httpsProxy property: The HTTPS proxy server endpoint to use.
      Returns:
      the httpsProxy value.
    • withHttpsProxy

      public HttpProxyConfigResponse withHttpsProxy(String httpsProxy)
      Set the httpsProxy property: The HTTPS proxy server endpoint to use.
      Parameters:
      httpsProxy - the httpsProxy value to set.
      Returns:
      the HttpProxyConfigResponse object itself.
    • noProxy

      public List<String> noProxy()
      Get the noProxy property: The endpoints that should not go through proxy.
      Returns:
      the noProxy value.
    • withNoProxy

      public HttpProxyConfigResponse withNoProxy(List<String> noProxy)
      Set the noProxy property: The endpoints that should not go through proxy.
      Parameters:
      noProxy - the noProxy value to set.
      Returns:
      the HttpProxyConfigResponse object itself.
    • trustedCa

      public String trustedCa()
      Get the trustedCa property: Alternative CA cert to use for connecting to proxy servers.
      Returns:
      the trustedCa value.
    • withTrustedCa

      public HttpProxyConfigResponse withTrustedCa(String trustedCa)
      Set the trustedCa property: Alternative CA cert to use for connecting to proxy servers.
      Parameters:
      trustedCa - the trustedCa value to set.
      Returns:
      the HttpProxyConfigResponse object itself.
    • username

      public String username()
      Get the username property: Username to use for connecting to proxy server.
      Returns:
      the username value.
    • withUsername

      public HttpProxyConfigResponse withUsername(String username)
      Set the username property: Username to use for connecting to proxy server.
      Parameters:
      username - the username value to set.
      Returns:
      the HttpProxyConfigResponse object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.