@NotThreadSafe public static final class StsAssumeRoleWithWebIdentityCredentialsProvider.Builder extends Object
StsAssumeRoleWithWebIdentityCredentialsProvider.builder()
) for creating a
StsAssumeRoleWithWebIdentityCredentialsProvider
.Modifier and Type | Method | 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. |
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 Amazon Web Services, Inc. All Rights Reserved.