Class DefaultAwsTokenProvider.Builder
- java.lang.Object
-
- software.amazon.awssdk.auth.token.credentials.aws.DefaultAwsTokenProvider.Builder
-
- Enclosing class:
- DefaultAwsTokenProvider
public static final class DefaultAwsTokenProvider.Builder extends Object
Configuration that defines theDefaultAwsTokenProvider
's behavior.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultAwsTokenProvider
build()
Create aDefaultAwsTokenProvider
using the configuration defined in this builder.DefaultAwsTokenProvider.Builder
profileFile(Supplier<ProfileFile> profileFile)
DefaultAwsTokenProvider.Builder
profileName(String profileName)
-
-
-
Method Detail
-
profileFile
public DefaultAwsTokenProvider.Builder profileFile(Supplier<ProfileFile> profileFile)
-
profileName
public DefaultAwsTokenProvider.Builder profileName(String profileName)
-
build
public DefaultAwsTokenProvider build()
Create aDefaultAwsTokenProvider
using the configuration defined in this builder.
-
-