Class AmazonClientsFactoryImpl

    • Constructor Detail

      • AmazonClientsFactoryImpl

        public AmazonClientsFactoryImpl()
    • Method Detail

      • 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 calling AmazonWebServiceClient.shutdown() on returned instance.
        Specified by:
        newAmazonS3Client in interface AmazonClientsFactory
        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 calling AmazonWebServiceClient.shutdown() on returned instance.
        Specified by:
        newS3Client in interface AmazonClientsFactory
        Parameters:
        awsCredentials - AWS credentials
        Returns:
        new instance of S3 client