@NotThreadSafe public static final class StsAssumeRoleWithWebIdentityCredentialsProvider.Builder extends StsCredentialsProvider.BaseBuilder<StsAssumeRoleWithWebIdentityCredentialsProvider.Builder,StsAssumeRoleWithWebIdentityCredentialsProvider>
StsAssumeRoleWithWebIdentityCredentialsProvider.builder()
) for creating a
StsAssumeRoleWithWebIdentityCredentialsProvider
.Modifier and Type | Method and Description |
---|---|
StsAssumeRoleWithWebIdentityCredentialsProvider.Builder |
refreshRequest(AssumeRoleWithWebIdentityRequest assumeRoleWithWebIdentityRequest)
Configure the
AssumeRoleWithWebIdentityRequest that should be periodically sent to the STS service to update
the session token when it gets close to expiring. |
asyncCredentialUpdateEnabled, build, stsClient
public StsAssumeRoleWithWebIdentityCredentialsProvider.Builder refreshRequest(AssumeRoleWithWebIdentityRequest assumeRoleWithWebIdentityRequest)
AssumeRoleWithWebIdentityRequest
that should be periodically sent to the STS service to update
the session token when it gets close to expiring.assumeRoleWithWebIdentityRequest
- The request to send to STS whenever the assumed session expires.Copyright © 2017. All rights reserved.