B
- The type of builder that should be returned by the fluent builder methods in this interface.C
- The type of client generated by this builder.ClientBuilder<B,C>
, SdkBuilder<B,C>
ACMAsyncClientBuilder
, APIGatewayAsyncClientBuilder
, ApplicationAutoScalingAsyncClientBuilder
, ApplicationDiscoveryAsyncClientBuilder
, AppStreamAsyncClientBuilder
, AthenaAsyncClientBuilder
, AutoScalingAsyncClientBuilder
, BatchAsyncClientBuilder
, BudgetsAsyncClientBuilder
, CloudDirectoryAsyncClientBuilder
, CloudFormationAsyncClientBuilder
, CloudFrontAsyncClientBuilder
, CloudHSMAsyncClientBuilder
, CloudSearchAsyncClientBuilder
, CloudSearchDomainAsyncClientBuilder
, CloudTrailAsyncClientBuilder
, CloudWatchAsyncClientBuilder
, CloudWatchEventsAsyncClientBuilder
, CloudWatchLogsAsyncClientBuilder
, CodeBuildAsyncClientBuilder
, CodeCommitAsyncClientBuilder
, CodeDeployAsyncClientBuilder
, CodePipelineAsyncClientBuilder
, CodeStarAsyncClientBuilder
, CognitoIdentityAsyncClientBuilder
, CognitoIdentityProviderAsyncClientBuilder
, CognitoSyncAsyncClientBuilder
, ConfigAsyncClientBuilder
, CostandUsageReportAsyncClientBuilder
, DatabaseMigrationAsyncClientBuilder
, DataPipelineAsyncClientBuilder
, DAXAsyncClientBuilder
, DeviceFarmAsyncClientBuilder
, DirectConnectAsyncClientBuilder
, DirectoryAsyncClientBuilder
, DynamoDBAsyncClientBuilder
, DynamoDBStreamsAsyncClientBuilder
, EC2AsyncClientBuilder
, ECRAsyncClientBuilder
, ECSAsyncClientBuilder
, EFSAsyncClientBuilder
, ElastiCacheAsyncClientBuilder
, ElasticBeanstalkAsyncClientBuilder
, ElasticLoadBalancingAsyncClientBuilder
, ElasticLoadBalancingv2AsyncClientBuilder
, ElasticsearchAsyncClientBuilder
, ElasticTranscoderAsyncClientBuilder
, EMRAsyncClientBuilder
, FirehoseAsyncClientBuilder
, GameLiftAsyncClientBuilder
, GlacierAsyncClientBuilder
, GreengrassAsyncClientBuilder
, HealthAsyncClientBuilder
, IAMAsyncClientBuilder
, ImportExportAsyncClientBuilder
, InspectorAsyncClientBuilder
, IoTAsyncClientBuilder
, IoTDataPlaneAsyncClientBuilder
, KinesisAnalyticsAsyncClientBuilder
, KinesisAsyncClientBuilder
, KMSAsyncClientBuilder
, LambdaAsyncClientBuilder
, LexModelBuildingAsyncClientBuilder
, LightsailAsyncClientBuilder
, MachineLearningAsyncClientBuilder
, MarketplaceCommerceAnalyticsAsyncClientBuilder
, MarketplaceEntitlementAsyncClientBuilder
, MarketplaceMeteringAsyncClientBuilder
, MTurkAsyncClientBuilder
, OpsWorksAsyncClientBuilder
, OpsWorksCMAsyncClientBuilder
, OrganizationsAsyncClientBuilder
, PinpointAsyncClientBuilder
, PollyAsyncClientBuilder
, RDSAsyncClientBuilder
, RedshiftAsyncClientBuilder
, RekognitionAsyncClientBuilder
, ResourceGroupsTaggingAPIAsyncClientBuilder
, Route53AsyncClientBuilder
, Route53DomainsAsyncClientBuilder
, S3AsyncClientBuilder
, ServiceCatalogAsyncClientBuilder
, SESAsyncClientBuilder
, SFNAsyncClientBuilder
, ShieldAsyncClientBuilder
, SimpleDBAsyncClientBuilder
, SMSAsyncClientBuilder
, SnowballAsyncClientBuilder
, SNSAsyncClientBuilder
, SQSAsyncClientBuilder
, SSMAsyncClientBuilder
, StorageGatewayAsyncClientBuilder
, STSAsyncClientBuilder
, SupportAsyncClientBuilder
, SWFAsyncClientBuilder
, WAFAsyncClientBuilder
, WAFRegionalAsyncClientBuilder
, WorkDocsAsyncClientBuilder
, WorkSpacesAsyncClientBuilder
, XRayAsyncClientBuilder
public interface AsyncClientBuilder<B extends AsyncClientBuilder<B,C>,C> extends ClientBuilder<B,C>
Implementations of this interface are mutable and not thread-safe.
Modifier and Type | Method | Description |
---|---|---|
B |
asyncExecutorProvider(ExecutorProvider asyncExecutorProvider) |
Configure the executor service provider that generates
ScheduledExecutorService instances to queue
up async tasks in the client. |
B |
asyncHttpConfiguration(ClientAsyncHttpConfiguration asyncHttpConfiguration) |
Configures the HTTP client used by the service client.
|
credentialsProvider, endpointOverride, overrideConfiguration, region
apply, build
B asyncExecutorProvider(ExecutorProvider asyncExecutorProvider)
ScheduledExecutorService
instances to queue
up async tasks in the client. This executor is used for various processes within the async client like queueing up
retries, it is not used to make or process the actual HTTP request (that's handled by the Async HTTP implementation
and can be configured via asyncHttpConfiguration(ClientAsyncHttpConfiguration)
as the implementation allows).
A new ExecutorService
will be created from this provider each time SdkBuilder.build()
is invoked.
B asyncHttpConfiguration(ClientAsyncHttpConfiguration asyncHttpConfiguration)
SdkAsyncHttpClient
. Note that if an SdkAsyncHttpClient
is provided then it is up to the caller to close it when they are
finished with it, the SDK will only close HTTP clients that it creates.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.