Class S3Utilities.Builder
java.lang.Object
software.amazon.awssdk.services.s3.S3Utilities.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Construct aS3Utilities
object.dualstackEnabled
(Boolean dualstackEnabled) Configure whether the SDK should use the AWS dualstack endpoint.The default endpoint to use when working with the methods inS3Utilities
class.fipsEnabled
(Boolean fipsEnabled) Configure whether the SDK should use the AWS fips endpoint.The default region to use when working with the methods inS3Utilities
class.s3Configuration
(S3Configuration s3Configuration) Sets the S3 configuration to enable options like path style access, dual stack, accelerate mode etc.
-
Method Details
-
region
The default region to use when working with the methods inS3Utilities
class. There can be methods inS3Utilities
that don't need the region info. In that case, this option will be ignored when using those methods.- Returns:
- This object for method chaining
-
endpoint
The default endpoint to use when working with the methods inS3Utilities
class. There can be methods inS3Utilities
that don't need the endpoint info. In that case, this option will be ignored when using those methods.- Returns:
- This object for method chaining
-
dualstackEnabled
Configure whether the SDK should use the AWS dualstack endpoint.If this is not specified, the SDK will attempt to determine whether the dualstack endpoint should be used automatically using the following logic:
- Check the 'aws.useDualstackEndpoint' system property for 'true' or 'false'.
- Check the 'AWS_USE_DUALSTACK_ENDPOINT' environment variable for 'true' or 'false'.
- Check the {user.home}/.aws/credentials and {user.home}/.aws/config files for the 'use_dualstack_endpoint' property set to 'true' or 'false'.
If the setting is not found in any of the locations above, 'false' will be used.
-
fipsEnabled
Configure whether the SDK should use the AWS fips endpoint.If this is not specified, the SDK will attempt to determine whether the fips endpoint should be used automatically using the following logic:
- Check the 'aws.useFipsEndpoint' system property for 'true' or 'false'.
- Check the 'AWS_USE_FIPS_ENDPOINT' environment variable for 'true' or 'false'.
- Check the {user.home}/.aws/credentials and {user.home}/.aws/config files for the 'use_fips_endpoint' property set to 'true' or 'false'.
If the setting is not found in any of the locations above, 'false' will be used.
-
s3Configuration
Sets the S3 configuration to enable options like path style access, dual stack, accelerate mode etc. There can be methods inS3Utilities
that don't need the region info. In that case, this option will be ignored when using those methods.- Returns:
- This object for method chaining
-
build
Construct aS3Utilities
object.
-