public static class AmazonS3DocumentLoader.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AmazonS3DocumentLoader.Builder |
awsCredentials(AwsCredentials awsCredentials)
Set the AWS credentials.
|
AmazonS3DocumentLoader |
build() |
AmazonS3DocumentLoader.Builder |
endpointUrl(String endpointUrl)
Specifies a custom endpoint URL to override the default service URL.
|
AmazonS3DocumentLoader.Builder |
forcePathStyle(boolean forcePathStyle)
Set the forcePathStyle.
|
AmazonS3DocumentLoader.Builder |
profile(String profile)
Set the profile defined in AWS credentials.
|
AmazonS3DocumentLoader.Builder |
region(software.amazon.awssdk.regions.Region region)
Set the AWS region.
|
AmazonS3DocumentLoader.Builder |
region(String region)
Set the AWS region.
|
public AmazonS3DocumentLoader.Builder region(String region)
region - The AWS region.public AmazonS3DocumentLoader.Builder region(software.amazon.awssdk.regions.Region region)
region - The AWS region.public AmazonS3DocumentLoader.Builder endpointUrl(String endpointUrl)
endpointUrl - The endpoint URL.public AmazonS3DocumentLoader.Builder profile(String profile)
profile - The profile defined in AWS credentials.public AmazonS3DocumentLoader.Builder forcePathStyle(boolean forcePathStyle)
forcePathStyle - The forcePathStyle.public AmazonS3DocumentLoader.Builder awsCredentials(AwsCredentials awsCredentials)
awsCredentials - The AWS credentials.public AmazonS3DocumentLoader build()
Copyright © 2023. All rights reserved.