Interface Proxy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Proxy.Builder,,Proxy> SdkBuilder<Proxy.Builder,,Proxy> SdkPojo
- Enclosing class:
Proxy
@Mutable
@NotThreadSafe
public static interface Proxy.Builder
extends SdkPojo, CopyableBuilder<Proxy.Builder,Proxy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Proxy.BuilderexternalProxy(Consumer<ExternalProxy.Builder> externalProxy) Configuration for an external customer-managed proxy server.externalProxy(ExternalProxy externalProxy) Configuration for an external customer-managed 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
-
externalProxy
Configuration for an external customer-managed proxy server.
- Parameters:
externalProxy- Configuration for an external customer-managed proxy server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalProxy
Configuration for an external customer-managed proxy server.
This is a convenience method that creates an instance of theExternalProxy.Builderavoiding the need to create one manually viaExternalProxy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalProxy(ExternalProxy).- Parameters:
externalProxy- a consumer that will call methods onExternalProxy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-