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 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

      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