Class ProfileProviderCredentialsContext.Builder
java.lang.Object
software.amazon.awssdk.auth.credentials.ProfileProviderCredentialsContext.Builder
- Enclosing class:
ProfileProviderCredentialsContext
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builder interface to set profile.profileFile
(ProfileFile profileFile) Builder interface to set ProfileFile.sourceChain
(String sourceChain) Builder interface to set source.
-
Method Details
-
profile
Builder interface to set profile.- Parameters:
profile
- The profile that should be used to load the configuration necessary to create the credential provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileFile
Builder interface to set ProfileFile.- Parameters:
profileFile
- The ProfileFile that has the profile which is used to create the credential provider. This is * required to fetch the titles like sso-session defined in profile property* *- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceChain
Builder interface to set source.- Parameters:
sourceChain
- An optional string list ofBusinessMetricFeatureId
denoting previous credentials providers that are chained with this one. This method is primarily intended for use by AWS SDK internal components and should not be used directly by external users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
-