| Modifier and Type | Field and Description |
|---|---|
static SdkClientOption<ProfileFile> |
SdkClientOption.PROFILE_FILE
Deprecated.
This option was used to:
- Read configuration options in profile files in aws-core, sdk-core
- Build service configuration objects from profile files in codegen, s3control
- Build service configuration objects from profile files, set endpoint options in s3
- Set retry mode in dynamodb, kinesis
This has been replaced with
PROFILE_FILE_SUPPLIER.get(). |
static SdkClientOption<Supplier<ProfileFile>> |
SdkClientOption.PROFILE_FILE_SUPPLIER
The profile file supplier to use for this client.
|
| Modifier and Type | Method and Description |
|---|---|
ProfileFile |
ClientOverrideConfiguration.Builder.defaultProfileFile() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ProfileFile> |
ClientOverrideConfiguration.defaultProfileFile()
The profile file that should be used by default for all profile-based configuration in the SDK client.
|
| Modifier and Type | Method and Description |
|---|---|
ClientOverrideConfiguration.Builder |
ClientOverrideConfiguration.Builder.defaultProfileFile(ProfileFile defaultProfileFile)
Configure the profile file that should be used by default for all profile-based configuration in the SDK client.
|
| Modifier and Type | Method and Description |
|---|---|
static ProfileEndpointDiscoveryProvider |
ProfileEndpointDiscoveryProvider.create(Supplier<ProfileFile> profileFile,
String profileName) |
| Modifier and Type | Field and Description |
|---|---|
static ExecutionAttribute<ProfileFile> |
SdkExecutionAttribute.PROFILE_FILE
Deprecated.
This attribute is used for:
- Set profile file of service endpoint builder docdb, nepture, rds
This has been replaced with
PROFILE_FILE_SUPPLIER.get(). |
static ExecutionAttribute<Supplier<ProfileFile>> |
SdkExecutionAttribute.PROFILE_FILE_SUPPLIER |
| Modifier and Type | Method and Description |
|---|---|
RetryMode.Resolver |
RetryMode.Resolver.profileFile(Supplier<ProfileFile> profileFile)
Configure the profile file that should be used when determining the
RetryMode. |
| Modifier and Type | Method and Description |
|---|---|
ProfileFile |
ProfileFile.Builder.build() |
ProfileFile |
ProfileFile.Aggregator.build() |
static ProfileFile |
ProfileFile.defaultProfileFile()
Get the default profile file, using the credentials file from "~/.aws/credentials", the config file from "~/.aws/config"
and the "default" profile.
|
| Modifier and Type | Method and Description |
|---|---|
ProfileFile.Aggregator |
ProfileFile.Aggregator.addFile(ProfileFile file)
Add a file to be aggregated.
|
static ProfileFileSupplier |
ProfileFileSupplier.fixedProfileFile(ProfileFile profileFile)
Creates a
ProfileFileSupplier that produces an existing profile. |
| Modifier and Type | Method and Description |
|---|---|
ProfileFile |
ProfileFileRefresher.ProfileFileRefreshRecord.profileFile()
The refreshed ProfileFile instance.
|
ProfileFile |
ProfileFileRefresher.refreshIfStale()
Retrieves the cache value or refreshes it if stale.
|
| Modifier and Type | Method and Description |
|---|---|
ProfileFileRefresher.Builder |
ProfileFileRefresher.Builder.onProfileFileReload(Consumer<ProfileFile> consumer)
Sets a custom action to perform when a profile file is reloaded.
|
ProfileFileRefresher.Builder |
ProfileFileRefresher.Builder.profileFile(Supplier<ProfileFile> profileFile) |
Copyright © 2023. All rights reserved.