public interface ClientManager extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Close operation is required to not raise exceptions.
|
software.amazon.awssdk.services.s3.S3AsyncClient |
getOrCreateAsyncClient()
Get the Async S3Client,raising a failure to create as an IOException.
|
software.amazon.awssdk.services.s3.S3Client |
getOrCreateAsyncS3ClientUnchecked()
Get the AsyncS3Client, raising a failure to create as an UncheckedIOException.
|
software.amazon.awssdk.services.s3.S3Client |
getOrCreateS3Client()
Get the S3Client, raising a failure to create as an IOException.
|
software.amazon.awssdk.services.s3.S3Client |
getOrCreateS3ClientUnchecked()
Get the S3Client, raising a failure to create as an UncheckedIOException.
|
software.amazon.awssdk.transfer.s3.S3TransferManager |
getOrCreateTransferManager()
Get the transfer manager, creating it and any dependencies if needed.
|
software.amazon.awssdk.transfer.s3.S3TransferManager getOrCreateTransferManager() throws IOException
IOException
- on any failure to create the managersoftware.amazon.awssdk.services.s3.S3Client getOrCreateS3Client() throws IOException
IOException
- failure to create the client.software.amazon.awssdk.services.s3.S3Client getOrCreateS3ClientUnchecked() throws UncheckedIOException
UncheckedIOException
- failure to create the client.software.amazon.awssdk.services.s3.S3AsyncClient getOrCreateAsyncClient() throws IOException
IOException
- failure to create the client.software.amazon.awssdk.services.s3.S3Client getOrCreateAsyncS3ClientUnchecked() throws UncheckedIOException
UncheckedIOException
- failure to create the client.void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.