Package com.atlassian.bamboo.aws
Class AmazonClientsFactoryImpl
- java.lang.Object
-
- com.atlassian.bamboo.aws.AmazonClientsFactoryImpl
-
- All Implemented Interfaces:
AmazonClientsFactory
public class AmazonClientsFactoryImpl extends Object implements AmazonClientsFactory
-
-
Constructor Summary
Constructors Constructor Description AmazonClientsFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.atlassian.aws.s3.BambooAmazonS3ClientnewAmazonS3Client(@NotNull com.amazonaws.auth.AWSCredentials awsCredentials)Create S3 client.com.amazonaws.services.s3.AmazonS3ClientBuildernewS3Client(@NotNull com.amazonaws.auth.AWSCredentials awsCredentials)Create S3 client.
-
-
-
Method Detail
-
newAmazonS3Client
public com.atlassian.aws.s3.BambooAmazonS3Client newAmazonS3Client(@NotNull @NotNull com.amazonaws.auth.AWSCredentials awsCredentials)Description copied from interface:AmazonClientsFactoryCreate S3 client. Caller is responsible for callingAmazonWebServiceClient.shutdown()on returned instance.- Specified by:
newAmazonS3Clientin interfaceAmazonClientsFactory- Parameters:
awsCredentials- AWS credentials- Returns:
- new instance of S3 client
-
newS3Client
public com.amazonaws.services.s3.AmazonS3ClientBuilder newS3Client(@NotNull @NotNull com.amazonaws.auth.AWSCredentials awsCredentials)Description copied from interface:AmazonClientsFactoryCreate S3 client. The client is IPv6-enabled by default. Caller is responsible for callingAmazonWebServiceClient.shutdown()on returned instance.- Specified by:
newS3Clientin interfaceAmazonClientsFactory- Parameters:
awsCredentials- AWS credentials- Returns:
- new instance of S3 client
-
-