Class DefaultsModeResolver
java.lang.Object
software.amazon.awssdk.awscore.internal.defaultsmode.DefaultsModeResolver
Allows customizing the variables used during determination of a 
DefaultsMode. Created via create().- 
Method SummaryModifier and TypeMethodDescriptionstatic DefaultsModeResolvercreate()defaultMode(DefaultsMode mode) Configure theDefaultsModethat should be used if the mode is not specified anywhere else.profileFile(Supplier<ProfileFile> profileFile) Configure the profile file that should be used when determining theRetryMode.profileName(String profileName) Configure the profile file name should be used when determining theRetryMode.resolve()Resolve which defaults mode should be used, based on the configured values.
- 
Method Details- 
create
- 
profileFileConfigure the profile file that should be used when determining theRetryMode. The supplier is only consulted if a higher-priority determinant (e.g. environment variables) does not find the setting.
- 
profileNameConfigure the profile file name should be used when determining theRetryMode.
- 
defaultModeConfigure theDefaultsModethat should be used if the mode is not specified anywhere else.
- 
resolveResolve which defaults mode should be used, based on the configured values.
 
-