test_class.declarator: ctx
test_class.modifier: @Autowired
test_class.original_string: @Autowired
      ApplicationContext ctx;
test_class.type: ApplicationContext
test_class.var_name: ctx
test_class.file: micro-s3/src/test/java/com/oath/micro/server/s3/plugin/S3ClientProviderTest.java
test_class.identifier: S3ClientProviderTest
test_case.body: @Test
      @SneakyThrows
      public void getClient() {
          AmazonS3Client client = ctx.getBean(AmazonS3Client.class);
          assertNotNull(client);
      }
test_case.class_method_signature: S3ClientProviderTest.getClient()
test_case.full_signature: @Test @SneakyThrows public void getClient()
test_case.identifier: getClient
test_case.invocations: getBean assertNotNull
test_case.modifiers: @Test @SneakyThrows public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getClient()
focal_class.declarator: s3Configuration
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private S3Configuration s3Configuration;
focal_class.type: S3Configuration
focal_class.var_name: s3Configuration
focal_class.file: micro-s3/src/main/java/com/oath/micro/server/s3/plugin/S3ClientProvider.java
focal_class.identifier: S3ClientProvider
focal_class.class_method_signature: S3ClientProvider.getClient()
focal_class.full_signature: @Bean public AmazonS3Client getClient()
focal_class.identifier: getClient
focal_class.modifiers: @Bean public
focal_class.parameters: ()
focal_class.return: AmazonS3Client
focal_class.signature: AmazonS3Client getClient()
focal_class.class_method_signature: S3ClientProvider.getAwsCredentials()
focal_class.full_signature:  AWSCredentials getAwsCredentials()
focal_class.identifier: getAwsCredentials
focal_class.parameters: ()
focal_class.return: AWSCredentials
focal_class.signature: AWSCredentials getAwsCredentials()
focal_class.class_method_signature: S3ClientProvider.getClientConfiguration()
focal_class.full_signature: private ClientConfiguration getClientConfiguration()
focal_class.identifier: getClientConfiguration
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: ClientConfiguration
focal_class.signature: ClientConfiguration getClientConfiguration()
focal_method.body: @Bean
      public AmazonS3Client getClient() {
  
          AWSCredentials credentials = getAwsCredentials();
  
          AmazonS3Client amazonS3Client = new AmazonS3Client(credentials, getClientConfiguration());
  
          if (s3Configuration.getRegion() != null) {
              Region region = Region.getRegion(Regions.fromName(s3Configuration.getRegion()));
              amazonS3Client.setRegion(region);
          }
  
          return amazonS3Client;
      }
focal_method.class_method_signature: S3ClientProvider.getClient()
focal_method.full_signature: @Bean public AmazonS3Client getClient()
focal_method.identifier: getClient
focal_method.invocations: getAwsCredentials getClientConfiguration getRegion getRegion fromName getRegion setRegion
focal_method.modifiers: @Bean public
focal_method.parameters: ()
focal_method.return: AmazonS3Client
focal_method.signature: AmazonS3Client getClient()