public static final class ProfileCredentialsProvider.Builder extends Object
ProfileCredentialsProvider
.Modifier and Type | Method | Description |
---|---|---|
ProfileCredentialsProvider |
build() |
Create a
ProfileCredentialsProvider using the configuration applied to this builder. |
ProfileCredentialsProvider.Builder |
profileName(String profileName) |
Define the name of the profile that should be used by this credentials provider.
|
ProfileCredentialsProvider.Builder |
profilesConfigFile(ProfilesConfigFile profilesConfigFile) |
Define the profile configuration file that should be used by this credentials provider.
|
public ProfileCredentialsProvider.Builder profilesConfigFile(ProfilesConfigFile profilesConfigFile)
ProfilesConfigFile()
is used.public ProfileCredentialsProvider.Builder profileName(String profileName)
AwsSystemSetting.AWS_DEFAULT_PROFILE
is used.public ProfileCredentialsProvider build()
ProfileCredentialsProvider
using the configuration applied to this builder.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.