public static interface ProfileTokenProvider.Builder
ProfileTokenProvider.| Modifier and Type | Method and Description |
|---|---|
ProfileTokenProvider |
build()
Create a
ProfileTokenProvider using the configuration applied to this builder. |
ProfileTokenProvider.Builder |
profileFile(Supplier<ProfileFile> profileFile)
Define the profile file that should be used by this token provider.
|
ProfileTokenProvider.Builder |
profileName(String profileName)
Define the name of the profile that should be used by this token provider.
|
ProfileTokenProvider.Builder profileFile(Supplier<ProfileFile> profileFile)
ProfileFile.defaultProfileFile() is used.ProfileTokenProvider.Builder profileName(String profileName)
ProfileFileSystemSetting.AWS_PROFILE is used.ProfileTokenProvider build()
ProfileTokenProvider using the configuration applied to this builder.Copyright © 2023. All rights reserved.