Class ProfileProviderCredentialsContext.Builder
- java.lang.Object
-
- software.amazon.awssdk.auth.credentials.ProfileProviderCredentialsContext.Builder
-
- Enclosing class:
- ProfileProviderCredentialsContext
public static final class ProfileProviderCredentialsContext.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileProviderCredentialsContext
build()
ProfileProviderCredentialsContext.Builder
profile(Profile profile)
Builder interface to set profile.ProfileProviderCredentialsContext.Builder
profileFile(ProfileFile profileFile)
Builder interface to set ProfileFile.
-
-
-
Method Detail
-
profile
public ProfileProviderCredentialsContext.Builder profile(Profile 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
public ProfileProviderCredentialsContext.Builder profileFile(ProfileFile 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.
-
build
public ProfileProviderCredentialsContext build()
-
-