Interface ProfileTokenProvider.Builder
-
- Enclosing class:
- ProfileTokenProvider
public static interface ProfileTokenProvider.BuilderA builder for creating a customProfileTokenProvider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfileTokenProviderbuild()Create aProfileTokenProviderusing the configuration applied to this builder.ProfileTokenProvider.BuilderprofileFile(Supplier<ProfileFile> profileFile)Define the profile file that should be used by this token provider.ProfileTokenProvider.BuilderprofileName(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_PROFILEis used.
-
build
ProfileTokenProvider build()
Create aProfileTokenProviderusing the configuration applied to this builder.
-
-