Package software.amazon.awssdk.http.crt
Interface ProxyConfiguration.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ProxyConfiguration.Builder,,ProxyConfiguration> CrtProxyConfiguration.Builder,SdkBuilder<ProxyConfiguration.Builder,ProxyConfiguration> 
- Enclosing class:
 ProxyConfiguration
public static interface ProxyConfiguration.Builder
extends CrtProxyConfiguration.Builder, CopyableBuilder<ProxyConfiguration.Builder,ProxyConfiguration> 
Builder for 
ProxyConfiguration.- 
Method Summary
Modifier and TypeMethodDescriptionbuild()An immutable object that is created from the properties that have been set on the builder.Set the hostname of the proxy.The password to use for basic proxy authenticationport(int port) Set the port that the proxy expects connections on.The HTTP scheme to use for connecting to the proxy.useEnvironmentVariableValues(Boolean useEnvironmentVariableValues) The option whether to use environment variable values fromProxySystemSettingif any of the config options are missing.The username to use for basic proxy authenticationuseSystemPropertyValues(Boolean useSystemPropertyValues) The option whether to use system property values fromProxySystemSettingif any of the config options are missing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation 
- 
Method Details
- 
host
Set the hostname of the proxy.- Specified by:
 hostin interfaceCrtProxyConfiguration.Builder- Parameters:
 host- The proxy host.- Returns:
 - This object for method chaining.
 
 - 
port
Set the port that the proxy expects connections on.- Specified by:
 portin interfaceCrtProxyConfiguration.Builder- Parameters:
 port- The proxy port.- Returns:
 - This object for method chaining.
 
 - 
scheme
The HTTP scheme to use for connecting to the proxy. Valid values arehttpandhttps.The client defaults to
httpif none is given.- Specified by:
 schemein interfaceCrtProxyConfiguration.Builder- Parameters:
 scheme- The proxy scheme.- Returns:
 - This object for method chaining.
 
 - 
username
The username to use for basic proxy authenticationIf not set, the client will not use basic authentication
- Specified by:
 usernamein interfaceCrtProxyConfiguration.Builder- Parameters:
 username- The basic authentication username.- Returns:
 - This object for method chaining.
 
 - 
password
The password to use for basic proxy authenticationIf not set, the client will not use basic authentication
- Specified by:
 passwordin interfaceCrtProxyConfiguration.Builder- Parameters:
 password- The basic authentication password.- Returns:
 - This object for method chaining.
 
 - 
useSystemPropertyValues
The option whether to use system property values fromProxySystemSettingif any of the config options are missing. The value is set to "true" by default which means SDK will automatically use system property values if options are not provided during building theProxyConfigurationobject. To disable this behaviour, set this value to false.- Specified by:
 useSystemPropertyValuesin interfaceCrtProxyConfiguration.Builder- Parameters:
 useSystemPropertyValues- The option whether to use system property values- Returns:
 - This object for method chaining.
 
 - 
useEnvironmentVariableValues
Description copied from interface:CrtProxyConfiguration.BuilderThe option whether to use environment variable values fromProxySystemSettingif any of the config options are missing. The value is set to "true" by default which means SDK will automatically use environment variable values if options are not provided during building theCrtProxyConfigurationobject. 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.- Specified by:
 useEnvironmentVariableValuesin interfaceCrtProxyConfiguration.Builder- Parameters:
 useEnvironmentVariableValues- The option whether to use environment variable values- Returns:
 - This object for method chaining.
 
 - 
build
ProxyConfiguration build()Description copied from interface:SdkBuilderAn immutable object that is created from the properties that have been set on the builder.- Specified by:
 buildin interfaceBuildable- Specified by:
 buildin interfaceCrtProxyConfiguration.Builder- Specified by:
 buildin interfaceSdkBuilder<ProxyConfiguration.Builder,ProxyConfiguration> - Returns:
 - an instance of T
 
 
 -