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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Executor
     
    software.amazon.awssdk.services.s3.S3ClientBuilder
    newS3Client(@NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials)
    Create S3 sync client.
    software.amazon.awssdk.services.s3.S3AsyncClientBuilder
    newS3ClientAsync(@NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials)
    Create S3 async client.
    software.amazon.awssdk.services.s3.presigner.S3Presigner.Builder
    newS3Presigner(@NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials)
    Create a new S3 presigner.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AmazonClientsFactoryImpl

      public AmazonClientsFactoryImpl()
  • Method Details

    • getTransferManagerGlobalExecutorRef

      public static Executor getTransferManagerGlobalExecutorRef()
    • newS3Client

      public software.amazon.awssdk.services.s3.S3ClientBuilder newS3Client(@NotNull @NotNull software.amazon.awssdk.auth.credentials.AwsCredentials awsCredentials)
      Description copied from interface: AmazonClientsFactory
      Create S3 sync client. The client is IPv6-enabled by default.
      Specified by:
      newS3Client in interface AmazonClientsFactory
      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: AmazonClientsFactory
      Create S3 async client. The client is IPv6-enabled by default.
      Specified by:
      newS3ClientAsync in interface AmazonClientsFactory
      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: AmazonClientsFactory
      Create a new S3 presigner. The presigner is used to generate pre-signed URLs for S3 operations.
      Specified by:
      newS3Presigner in interface AmazonClientsFactory
      Parameters:
      awsCredentials - AWS credentials
      Returns:
      new instance of S3 presigner builder