Package com.atlassian.bamboo.aws
Class AmazonClientsFactoryImpl
java.lang.Object
com.atlassian.bamboo.aws.AmazonClientsFactoryImpl
- All Implemented Interfaces:
AmazonClientsFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.aws.s3.BambooAmazonS3Client
newAmazonS3Client
(@NotNull com.amazonaws.auth.AWSCredentials awsCredentials) Create S3 client.com.amazonaws.services.s3.AmazonS3ClientBuilder
newS3Client
(@NotNull com.amazonaws.auth.AWSCredentials awsCredentials) Create S3 client.
-
Constructor Details
-
AmazonClientsFactoryImpl
public AmazonClientsFactoryImpl()
-
-
Method Details
-
newAmazonS3Client
public com.atlassian.aws.s3.BambooAmazonS3Client newAmazonS3Client(@NotNull @NotNull com.amazonaws.auth.AWSCredentials awsCredentials) Description copied from interface:AmazonClientsFactory
Create S3 client. Caller is responsible for callingAmazonWebServiceClient.shutdown()
on returned instance.- Specified by:
newAmazonS3Client
in 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:AmazonClientsFactory
Create S3 client. The client is IPv6-enabled by default. Caller is responsible for callingAmazonWebServiceClient.shutdown()
on returned instance.- Specified by:
newS3Client
in interfaceAmazonClientsFactory
- Parameters:
awsCredentials
- AWS credentials- Returns:
- new instance of S3 client
-