Best code snippets using com.amazonaws.client.builder.AwsAsyncClientBuilder.getSubclass(Showing top 6 results out of 315)

/** * Sets a custom executor service factory to use for the async clients. The factory will be * called for each async client created through the builder. * * @param executorFactory Factory supplying new instances of {@link ExecutorService} * @return This object for method chaining. */publicfinal Subclass withExecutorFactory(ExecutorFactory executorFactory) {
setExecutorFactory(executorFactory);
returngetSubclass();
}

/** * Sets a custom executor service factory to use for the async clients. The factory will be * called for each async client created through the builder. * * @param executorFactory Factory supplying new instances of {@link ExecutorService} * @return This object for method chaining. */publicfinal Subclass withExecutorFactory(ExecutorFactory executorFactory) {
setExecutorFactory(executorFactory);
returngetSubclass();
}

/** * Sets a custom executor service factory to use for the async clients. The factory will be * called for each async client created through the builder. * * @param executorFactory Factory supplying new instances of {@link ExecutorService} * @return This object for method chaining. */publicfinal Subclass withExecutorFactory(ExecutorFactory executorFactory) {
setExecutorFactory(executorFactory);
returngetSubclass();
}

/** * Sets a custom executor service factory to use for the async clients. The factory will be * called for each async client created through the builder. * * @param executorFactory Factory supplying new instances of {@link ExecutorService} * @return This object for method chaining. */publicfinal Subclass withExecutorFactory(ExecutorFactory executorFactory) {
setExecutorFactory(executorFactory);
returngetSubclass();
}

/** * Sets a custom executor service factory to use for the async clients. The factory will be * called for each async client created through the builder. * * @param executorFactory Factory supplying new instances of {@link ExecutorService} * @return This object for method chaining. */publicfinal Subclass withExecutorFactory(ExecutorFactory executorFactory) {
setExecutorFactory(executorFactory);
returngetSubclass();
}

/** * Sets a custom executor service factory to use for the async clients. The factory will be * called for each async client created through the builder. * * @param executorFactory Factory supplying new instances of {@link ExecutorService} * @return This object for method chaining. */publicfinal Subclass withExecutorFactory(ExecutorFactory executorFactory) {
setExecutorFactory(executorFactory);
returngetSubclass();
}