The FallbackCredentialsFactory class has been marked obsolete in V4 of the AWS SDK and has been replaced with the DefaultAWSCredentialsIdentityResolver class (see here).
The automatic credentials resolution docs should be updated to provide an example using the DefaultAWSCredentialsIdentityResolver class.