Java SDK usage

Using the Java SDK with the CSO API requires a slight modification: setting the S3 endpoint. Other minor variations are described.

Note:

For detailed information about the functional differences between the S3 API and the CSO API, see the CSO API Guide. It also contains the subset of S3 API features the CSO API supports.

For detailed information on SDK classes and methods, see the AWS SDK for Java API Reference.

All examples use AWS Java SDK 1.10.2 and assume a Linux/Unix development environment.

IBM Cloud Object Storage Vault™ and S3 Bucket are synonymous.

Some sections refer to home directories. The user’s home directory is different for each platform:

Table 1. Home directories
OS Location
Linux /home/{username}

~/

Windows 7 %USERPROFILE%\
Mac OS X /Users/{username}