Class ProfileProviderCredentialsContext.Builder

    • 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.
      • sourceChain

        public ProfileProviderCredentialsContext.Builder sourceChain​(String sourceChain)
        Builder interface to set source.
        Parameters:
        sourceChain - An optional string list of BusinessMetricFeatureId 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.