Example usage for com.amazonaws.services.s3.internal Constants KB

List of usage examples for com.amazonaws.services.s3.internal Constants KB

Introduction

In this page you can find the example usage for com.amazonaws.services.s3.internal Constants KB.

Prototype

int KB

To view the source code for com.amazonaws.services.s3.internal Constants KB.

Click Source Link

Document

Kilobytes

Usage

From source file:br.com.ingenieux.mojo.aws.util.BeanstalkerS3Client.java

License:Apache License

protected void init(Region region) {
    transferManager = new TransferManager(this);
    TransferManagerConfiguration configuration = new TransferManagerConfiguration();
    configuration.setMultipartUploadThreshold(100 * Constants.KB);
    transferManager.setConfiguration(configuration);
    this.setRegion(region);
}