Package com.atlassian.bamboo.aws
Class AmazonClientsFactoryImpl
java.lang.Object
com.atlassian.bamboo.aws.AmazonClientsFactoryImpl
- All Implemented Interfaces:
AmazonClientsFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Executorsoftware.amazon.awssdk.services.s3.S3ClientBuildernewS3Client(@NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials) Create S3 sync client.software.amazon.awssdk.services.s3.S3AsyncClientBuildernewS3ClientAsync(@NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials) Create S3 async client.software.amazon.awssdk.services.s3.presigner.S3Presigner.BuildernewS3Presigner(@NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials) Create a new S3 presigner.
-
Constructor Details
-
AmazonClientsFactoryImpl
public AmazonClientsFactoryImpl()
-
-
Method Details
-
getTransferManagerGlobalExecutorRef
-
newS3Client
public software.amazon.awssdk.services.s3.S3ClientBuilder newS3Client(@NotNull @NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials) Description copied from interface:AmazonClientsFactoryCreate S3 sync client. The client is IPv6-enabled by default.- Specified by:
newS3Clientin interfaceAmazonClientsFactory- Parameters:
awsCredentials- AWS credentials- Returns:
- new instance of S3 client
-
newS3ClientAsync
public software.amazon.awssdk.services.s3.S3AsyncClientBuilder newS3ClientAsync(@NotNull @NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials) Description copied from interface:AmazonClientsFactoryCreate S3 async client. The client is IPv6-enabled by default.- Specified by:
newS3ClientAsyncin interfaceAmazonClientsFactory- Parameters:
awsCredentials- AWS credentials- Returns:
- new instance of S3 client
-
newS3Presigner
public software.amazon.awssdk.services.s3.presigner.S3Presigner.Builder newS3Presigner(@NotNull @NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials) Description copied from interface:AmazonClientsFactoryCreate a new S3 presigner. The presigner is used to generate pre-signed URLs for S3 operations.- Specified by:
newS3Presignerin interfaceAmazonClientsFactory- Parameters:
awsCredentials- AWS credentials- Returns:
- new instance of S3 presigner builder
-