Interface ProxyConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProxyConfiguration.Builder,,ProxyConfiguration> SdkBuilder<ProxyConfiguration.Builder,,ProxyConfiguration> SdkPojo
- Enclosing class:
ProxyConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProxyConfiguration.Builderbypass(Consumer<ProxyBypass.Builder> bypass) Optional configuration for domains that should bypass all proxies and connect directly to their destination, like the internet.bypass(ProxyBypass bypass) Optional configuration for domains that should bypass all proxies and connect directly to their destination, like the internet.proxies(Collection<Proxy> proxies) An array of 1-5 proxy server configurations for domain-based routing.proxies(Consumer<Proxy.Builder>... proxies) An array of 1-5 proxy server configurations for domain-based routing.An array of 1-5 proxy server configurations for domain-based routing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
proxies
An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles via
domainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.- Parameters:
proxies- An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles viadomainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxies
An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles via
domainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.- Parameters:
proxies- An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles viadomainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proxies
An array of 1-5 proxy server configurations for domain-based routing. Each proxy can specify which domains it handles via
This is a convenience method that creates an instance of thedomainPatterns, enabling flexible routing of different traffic through different proxies based on destination domain.Proxy.Builderavoiding the need to create one manually viaProxy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproxies(List<Proxy>).- Parameters:
proxies- a consumer that will call methods onProxy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bypass
Optional configuration for domains that should bypass all proxies and connect directly to their destination, like the internet. Takes precedence over all proxy routing rules.
- Parameters:
bypass- Optional configuration for domains that should bypass all proxies and connect directly to their destination, like the internet. Takes precedence over all proxy routing rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bypass
Optional configuration for domains that should bypass all proxies and connect directly to their destination, like the internet. Takes precedence over all proxy routing rules.
This is a convenience method that creates an instance of theProxyBypass.Builderavoiding the need to create one manually viaProxyBypass.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobypass(ProxyBypass).- Parameters:
bypass- a consumer that will call methods onProxyBypass.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-