Interface ExternalProxy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExternalProxy.Builder,,ExternalProxy> SdkBuilder<ExternalProxy.Builder,,ExternalProxy> SdkPojo
- Enclosing class:
ExternalProxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExternalProxy.Buildercredentials(Consumer<ProxyCredentials.Builder> credentials) Optional authentication credentials for the proxy server.credentials(ProxyCredentials credentials) Optional authentication credentials for the proxy server.domainPatterns(String... domainPatterns) Optional array of domain patterns that should route through this specific proxy.domainPatterns(Collection<String> domainPatterns) Optional array of domain patterns that should route through this specific proxy.The port number of the proxy server.The hostname of the proxy server.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
-
server
The hostname of the proxy server. Must be a valid DNS hostname (maximum 253 characters).
- Parameters:
server- The hostname of the proxy server. Must be a valid DNS hostname (maximum 253 characters).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port number of the proxy server. Valid range: 1-65535.
- Parameters:
port- The port number of the proxy server. Valid range: 1-65535.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainPatterns
Optional array of domain patterns that should route through this specific proxy. Supports
.example.comfor subdomain matching (matches any subdomain of example.com) orexample.comfor exact domain matching. If omitted, this proxy acts as a catch-all for domains not matched by other proxies. Maximum 100 patterns per proxy, each up to 253 characters.- Parameters:
domainPatterns- Optional array of domain patterns that should route through this specific proxy. Supports.example.comfor subdomain matching (matches any subdomain of example.com) orexample.comfor exact domain matching. If omitted, this proxy acts as a catch-all for domains not matched by other proxies. Maximum 100 patterns per proxy, each up to 253 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainPatterns
Optional array of domain patterns that should route through this specific proxy. Supports
.example.comfor subdomain matching (matches any subdomain of example.com) orexample.comfor exact domain matching. If omitted, this proxy acts as a catch-all for domains not matched by other proxies. Maximum 100 patterns per proxy, each up to 253 characters.- Parameters:
domainPatterns- Optional array of domain patterns that should route through this specific proxy. Supports.example.comfor subdomain matching (matches any subdomain of example.com) orexample.comfor exact domain matching. If omitted, this proxy acts as a catch-all for domains not matched by other proxies. Maximum 100 patterns per proxy, each up to 253 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
Optional authentication credentials for the proxy server. If omitted, the proxy is accessed without authentication (useful for IP-allowlisted proxies).
- Parameters:
credentials- Optional authentication credentials for the proxy server. If omitted, the proxy is accessed without authentication (useful for IP-allowlisted proxies).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
Optional authentication credentials for the proxy server. If omitted, the proxy is accessed without authentication (useful for IP-allowlisted proxies).
This is a convenience method that creates an instance of theProxyCredentials.Builderavoiding the need to create one manually viaProxyCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(ProxyCredentials).- Parameters:
credentials- a consumer that will call methods onProxyCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-