Package com.atlassian.bamboo.aws
Interface AmazonClientsFactory
-
- All Known Implementing Classes:
AmazonClientsFactoryImpl
public interface AmazonClientsFactory
Factory to create different types of AWS clients. Bamboo beans / plugins should use this to avoid calling static methods from atlassian-aws' AmazonClients- Since:
- 5.9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.atlassian.aws.s3.BambooAmazonS3Client
newAmazonS3Client(@NotNull com.amazonaws.auth.AWSCredentials awsCredentials)
Deprecated.since 6.7 usenewS3Client(AWSCredentials)
com.amazonaws.services.s3.AmazonS3ClientBuilder
newS3Client(@NotNull com.amazonaws.auth.AWSCredentials awsCredentials)
Create S3 client.
-
-
-
Method Detail
-
newAmazonS3Client
@Deprecated com.atlassian.aws.s3.BambooAmazonS3Client newAmazonS3Client(@NotNull @NotNull com.amazonaws.auth.AWSCredentials awsCredentials)
Deprecated.since 6.7 usenewS3Client(AWSCredentials)
Create S3 client. Caller is responsible for callingAmazonWebServiceClient.shutdown()
on returned instance.- Parameters:
awsCredentials
- AWS credentials- Returns:
- new instance of S3 client
-
newS3Client
com.amazonaws.services.s3.AmazonS3ClientBuilder newS3Client(@NotNull @NotNull com.amazonaws.auth.AWSCredentials awsCredentials)
Create S3 client. The client is IPv6-enabled by default. Caller is responsible for callingAmazonWebServiceClient.shutdown()
on returned instance.- Parameters:
awsCredentials
- AWS credentials- Returns:
- new instance of S3 client
-
-