public static interface ProfileCredentialsProvider.Builder
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 |
profileName(String profileName)
Define the name of the profile that should be used by this credentials provider.
|
ProfileCredentialsProvider.Builder profileFile(ProfileFile profileFile)
ProfileFile.defaultProfileFile()
is used.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 profileName(String profileName)
SdkSystemSetting#AWS_PROFILE
is used.ProfileCredentialsProvider build()
ProfileCredentialsProvider
using the configuration applied to this builder.Copyright © 2019. All rights reserved.