public static final class STSAssumeRoleWithWebIdentitySessionCredentialsProvider.Builder extends Object
Constructor and Description |
---|
Builder(String roleArn,
String roleSessionName,
String webIdentityTokenFile) |
Modifier and Type | Method and Description |
---|---|
STSAssumeRoleWithWebIdentitySessionCredentialsProvider |
build()
Build the configured provider
|
STSAssumeRoleWithWebIdentitySessionCredentialsProvider.Builder |
withStsClient(AWSSecurityTokenService sts)
Sets a preconfigured STS client to use for the credentials provider.
|
public STSAssumeRoleWithWebIdentitySessionCredentialsProvider.Builder withStsClient(AWSSecurityTokenService sts)
AWSSecurityTokenServiceClientBuilder
for an easy
way to configure and create an STS client.sts
- Custom STS client to use.public STSAssumeRoleWithWebIdentitySessionCredentialsProvider build()
Copyright © 2020. All rights reserved.