public Aws with(final BiFunction<AWSCredentialsProvider, Config, Object> callback) {
    requireNonNull(callback, "Callback is required.");
    callbacks.add(callback);
    return this;
  }
public Aws with(final BiFunction<AWSCredentialsProvider, Config, Object> callback) {
    requireNonNull(callback, "Callback is required.");
    callbacks.add(callback);
    return this;
  }
public Aws with ( final BiFunction < AWSCredentialsProvider , Config , Object > callback ) { requireNonNull ( callback , "Callback is required." ) ; callbacks . add ( callback ) ; return this ; }
Bind an {@link AmazonWebServiceClient} instances as Guice service.

<pre>
{
use(new Aws()
.with(creds {@literal ->} new AmazonS3Client(creds))
);
</pre>

@param callback A creation callback.
@return This module.
Bind an { @link AmazonWebServiceClient } instances as Guice service .