public class AsperaTransferManagerBuilder extends Object
AsperaTransferManager
. Use of the builder is preferred over constructors in
the AsperaTransferManager class.Constructor and Description |
---|
AsperaTransferManagerBuilder(String apiKey,
AmazonS3 s3Client) |
Modifier and Type | Method and Description |
---|---|
AsperaTransferManager |
build() |
AsperaTransferManagerBuilder |
withAsperaConfig(AsperaConfig asperaConfig)
Allows a user to overwrite the asperaConfig created during initialisation
|
AsperaTransferManagerBuilder |
withAsperaTransferManagerConfig(AsperaTransferManagerConfig asperaTransferManagerConfig)
Allows a user to overwrite the asperaTransferManagerConfig created during initialisation
|
AsperaTransferManagerBuilder |
withTokenManager(TokenManager tokenManager)
Allows a user to overwrite the TokenManager with their own.
|
public AsperaTransferManager build()
public AsperaTransferManagerBuilder withTokenManager(TokenManager tokenManager)
tokenManager
- public AsperaTransferManagerBuilder withAsperaTransferManagerConfig(AsperaTransferManagerConfig asperaTransferManagerConfig)
asperaTransferManagerConfig
- public AsperaTransferManagerBuilder withAsperaConfig(AsperaConfig asperaConfig)
asperaConfig
- Copyright © 2024. All rights reserved.