Answers for "aws s3 compatible java"

0

aws s3 compatible java

val cred = ...
val endpoint = "https://google.com" //whatever url you use
val client = AmazonS3ClientBuilder
      .standard()
      .withCredentials(cred)
  	  .withPathStyleAccessEnabled(true)
      .withEndpointConfiguration(
        new EndpointConfiguration(
          endpoint,
          AwsHostNameUtils.parseRegion(endpoint, AmazonS3Client.S3_SERVICE_NAME)
        )
      )
      .build()
Posted by: Guest on October-21-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language