Class SystemsSettingsUseArnRegionProvider
- java.lang.Object
-
- software.amazon.awssdk.services.s3.internal.settingproviders.SystemsSettingsUseArnRegionProvider
-
- All Implemented Interfaces:
UseArnRegionProvider
public final class SystemsSettingsUseArnRegionProvider extends Object implements UseArnRegionProvider
UseArnRegionProvider
implementation that loads userArnRegion configuration from system properties and environment variables.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SystemsSettingsUseArnRegionProvider
create()
Optional<Boolean>
resolveUseArnRegion()
-
-
-
Method Detail
-
create
public static SystemsSettingsUseArnRegionProvider create()
-
resolveUseArnRegion
public Optional<Boolean> resolveUseArnRegion()
- Specified by:
resolveUseArnRegion
in interfaceUseArnRegionProvider
- Returns:
- whether use-arn-region is enabled, or empty if it is not configured.
-
-