public static interface ProfileCredentialsProvider.Builder extends CopyableBuilder<ProfileCredentialsProvider.Builder,ProfileCredentialsProvider>
ProfileCredentialsProvider.| Modifier and Type | Method and Description |
|---|---|
ProfileCredentialsProvider |
build()
Create a
ProfileCredentialsProvider using the configuration applied to this builder. |
ProfileCredentialsProvider.Builder |
profileFile(Consumer<ProfileFile.Builder> profileFile)
Similar to
profileFile(ProfileFile), but takes a lambda to configure a new ProfileFile.Builder. |
ProfileCredentialsProvider.Builder |
profileFile(ProfileFile profileFile)
Define the profile file that should be used by this credentials provider.
|
ProfileCredentialsProvider.Builder |
profileFile(Supplier<ProfileFile> profileFileSupplier)
Define the mechanism for loading profile files.
|
ProfileCredentialsProvider.Builder |
profileName(String profileName)
Define the name of the profile that should be used by this credentials provider.
|
copyapplyMutationProfileCredentialsProvider.Builder profileFile(ProfileFile profileFile)
ProfileFile.defaultProfileFile() is used.profileFile(Supplier)ProfileCredentialsProvider.Builder profileFile(Consumer<ProfileFile.Builder> profileFile)
profileFile(ProfileFile), but takes a lambda to configure a new ProfileFile.Builder. This
removes the need to called ProfileFile.builder() and ProfileFile.Builder#build().ProfileCredentialsProvider.Builder profileFile(Supplier<ProfileFile> profileFileSupplier)
profileFileSupplier - Supplier interface for generating a ProfileFile instance.profileFile(ProfileFile)ProfileCredentialsProvider.Builder profileName(String profileName)
ProfileFileSystemSetting.AWS_PROFILE is used.ProfileCredentialsProvider build()
ProfileCredentialsProvider using the configuration applied to this builder.build in interface Buildablebuild in interface SdkBuilder<ProfileCredentialsProvider.Builder,ProfileCredentialsProvider>Copyright © 2023. All rights reserved.