public static class TransferUtility.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
TransferUtility.Builder |
awsConfiguration(AWSConfiguration awsConfiguration)
Sets the region of the underlying S3 client and the default bucket used for
uploads and downloads.
|
TransferUtility |
build() |
TransferUtility.Builder |
context(android.content.Context applicationContext)
Sets the context used.
|
TransferUtility.Builder |
defaultBucket(java.lang.String bucket)
Sets the default bucket used for uploads and downloads.
|
TransferUtility.Builder |
s3Client(AmazonS3 s3Client)
Sets the underlying S3 client used for transfers.
|
TransferUtility.Builder |
transferUtilityOptions(TransferUtilityOptions tuOptions)
Sets the TransferUtilityOptions for this TransferUtility instance.
|
public TransferUtility.Builder s3Client(AmazonS3 s3Client)
s3Client - The S3 client.public TransferUtility.Builder context(android.content.Context applicationContext)
applicationContext - The application context.public TransferUtility.Builder defaultBucket(java.lang.String bucket)
bucket - The bucket name.public TransferUtility.Builder awsConfiguration(AWSConfiguration awsConfiguration)
awsConfiguration - The configuration.public TransferUtility.Builder transferUtilityOptions(TransferUtilityOptions tuOptions)
tuOptions - The TransferUtility Options objectpublic TransferUtility build()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.