Interface ProxyConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ProxyConfiguration.Builder,,- ProxyConfiguration> - SdkBuilder<ProxyConfiguration.Builder,- ProxyConfiguration> 
- Enclosing class:
- ProxyConfiguration
ProxyConfiguration.
 All implementations of this interface are mutable and not thread safe.
- 
Method SummaryModifier and TypeMethodDescriptionaddNonProxyHost(String nonProxyHost) Add a host that the client is allowed to access without going through the proxy.Configure the endpoint of the proxy server that the SDK should connect through.nonProxyHosts(Set<String> nonProxyHosts) Configure the hosts that the client is allowed to access without going through the proxy.ntlmDomain(String proxyDomain) For NTLM proxies: Configure the Windows domain name to use when authenticating with the proxy.ntlmWorkstation(String proxyWorkstation) For NTLM proxies: Configure the Windows workstation name to use when authenticating with the proxy.Configure the password to use when connecting through a proxy.preemptiveBasicAuthenticationEnabled(Boolean preemptiveBasicAuthenticationEnabled) Configure whether to attempt to authenticate pre-emptively against the proxy server using basic authentication.The HTTP scheme to use for connecting to the proxy.useEnvironmentVariableValues(Boolean useEnvironmentVariableValues) Option whether to use environment variable values for proxy configuration if any of the config options are missing.Configure the username to use when connecting through a proxy.useSystemPropertyValues(Boolean useSystemPropertyValues) Option whether to use system property values fromProxySystemSettingif any of the config options are missing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, build
- 
Method Details- 
endpointConfigure the endpoint of the proxy server that the SDK should connect through. Currently, the endpoint is limited to a host and port. Any other URI components will result in an exception being raised.
- 
usernameConfigure the username to use when connecting through a proxy.
- 
passwordConfigure the password to use when connecting through a proxy.
- 
ntlmDomainFor NTLM proxies: Configure the Windows domain name to use when authenticating with the proxy.
- 
ntlmWorkstationFor NTLM proxies: Configure the Windows workstation name to use when authenticating with the proxy.
- 
nonProxyHostsConfigure the hosts that the client is allowed to access without going through the proxy.
- 
addNonProxyHostAdd a host that the client is allowed to access without going through the proxy.- See Also:
 
- 
preemptiveBasicAuthenticationEnabledProxyConfiguration.Builder preemptiveBasicAuthenticationEnabled(Boolean preemptiveBasicAuthenticationEnabled) Configure whether to attempt to authenticate pre-emptively against the proxy server using basic authentication.
- 
useSystemPropertyValuesOption whether to use system property values fromProxySystemSettingif any of the config options are missing.This value is set to "true" by default which means SDK will automatically use system property values for options that are not provided during building the ProxyConfigurationobject. To disable this behavior, set this value to "false".It is important to note that when this property is set to "true," all proxy settings will exclusively originate from system properties, and no partial settings will be obtained from EnvironmentVariableValues.
- 
useEnvironmentVariableValuesOption whether to use environment variable values for proxy configuration if any of the config options are missing.This value is set to "true" by default, which means the SDK will automatically use environment variable values for proxy configuration options that are not provided during the building of the ProxyConfigurationobject. To disable this behavior, set this value to "false". It is important to note that when this property is set to "true," all proxy settings will exclusively originate from environment variableValues, and no partial settings will be obtained from SystemPropertyValues.Comma-separated host names in the NO_PROXY environment variable indicate multiple hosts to exclude from proxy settings. - Parameters:
- useEnvironmentVariableValues- The option whether to use environment variable values.
- Returns:
- This object for method chaining.
 
- 
schemeThe HTTP scheme to use for connecting to the proxy. Valid values arehttpandhttps.The client defaults to httpif none is given.- Parameters:
- scheme- The proxy scheme.
- Returns:
- This object for method chaining.
 
 
-