Interface ClientAsyncConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClientAsyncConfiguration.Builder,,ClientAsyncConfiguration> SdkBuilder<ClientAsyncConfiguration.Builder,ClientAsyncConfiguration>
- Enclosing class:
ClientAsyncConfiguration
public static interface ClientAsyncConfiguration.Builder
extends CopyableBuilder<ClientAsyncConfiguration.Builder,ClientAsyncConfiguration>
Configure and create a
ClientAsyncConfiguration. Created via ClientAsyncConfiguration.builder().-
Method Summary
Modifier and TypeMethodDescriptionadvancedOption(SdkAdvancedAsyncClientOption<T> option, T value) Configure an advanced async option.advancedOptions(Map<SdkAdvancedAsyncClientOption<?>, ?> advancedOptions) Configure the map of advanced override options.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Method Details
-
advancedOption
<T> ClientAsyncConfiguration.Builder advancedOption(SdkAdvancedAsyncClientOption<T> option, T value) Configure an advanced async option. These values are used very rarely, and the majority of SDK customers can ignore them.- Type Parameters:
T- The type of the option.- Parameters:
option- The option to configure.value- The value of the option.
-
advancedOptions
ClientAsyncConfiguration.Builder advancedOptions(Map<SdkAdvancedAsyncClientOption<?>, ?> advancedOptions) Configure the map of advanced override options. This will override all values currently configured. The values in the map must match the key type of the map, or a runtime exception will be raised.
-