ProxyConfiguration (AWS SDK for Java

ProxyConfiguration (AWS SDK for Java - 2.25.21)
All Implemented Interfaces:
ToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>

See Also:
  • Method Details

    • builder

    • scheme

      Returns:
      The proxy scheme.
    • host

      Returns:
      The proxy host from the configuration if set, else from the "https.proxyHost" or "http.proxyHost" system property, based on the scheme used, if @link ProxyConfiguration.Builder#useSystemPropertyValues(Boolean)} is set to true
    • port

      public int port()

      Returns:
      The proxy port from the configuration if set, else from the "https.proxyPort" or "http.proxyPort" system property, based on the scheme used, if ProxyConfiguration.Builder.useSystemPropertyValues(Boolean) is set to true
    • username

      Returns:
      The proxy username from the configuration if set, else from the "https.proxyUser" or "http.proxyUser" system property, based on the scheme used, if ProxyConfiguration.Builder.useSystemPropertyValues(Boolean) is set to true
    • password

      Returns:
      The proxy password from the configuration if set, else from the "https.proxyPassword" or "http.proxyPassword" system property, based on the scheme used, if ProxyConfiguration.Builder.useSystemPropertyValues(Boolean) is set to true
    • nonProxyHosts

      Returns:
      The set of hosts that should not be proxied. If the value is not set, the value present by "http.nonProxyHost" system property is returned. If system property is also not set, an unmodifiable empty set is returned.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()

      Overrides:
      hashCode in class Object
    • toBuilder

      Take this object and create a builder that contains all of the current property values of this object.

      Specified by:
      toBuilder in interface ToCopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration>
      Returns:
      a builder for type T

You Might Also Like