Interface ProfileTokenProvider.Builder
-
- Enclosing class:
- ProfileTokenProvider
public static interface ProfileTokenProvider.Builder
A builder for creating a customProfileTokenProvider
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfileTokenProvider
build()
Create aProfileTokenProvider
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.
-
-
-
Method Detail
-
profileFile
ProfileTokenProvider.Builder profileFile(Supplier<ProfileFile> profileFile)
Define the profile file that should be used by this token provider. By default, theProfileFile.defaultProfileFile()
is used.
-
profileName
ProfileTokenProvider.Builder profileName(String profileName)
Define the name of the profile that should be used by this token provider. By default, the value inProfileFileSystemSetting.AWS_PROFILE
is used.
-
build
ProfileTokenProvider build()
Create aProfileTokenProvider
using the configuration applied to this builder.
-
-