@NotThreadSafe public static final class StsGetSessionTokenCredentialsProvider.Builder extends Object
StsGetSessionTokenCredentialsProvider.builder()
) for creating a
StsGetSessionTokenCredentialsProvider
.Modifier and Type | Method | Description |
---|---|---|
StsGetSessionTokenCredentialsProvider.Builder |
refreshRequest(GetSessionTokenRequest getSessionTokenRequest) |
Configure the
GetSessionTokenRequest that should be periodically sent to the STS service to update the session
token when it gets close to expiring. |
public StsGetSessionTokenCredentialsProvider.Builder refreshRequest(GetSessionTokenRequest getSessionTokenRequest)
GetSessionTokenRequest
that should be periodically sent to the STS service to update the session
token when it gets close to expiring.
If this is not specified, default values are used.getSessionTokenRequest
- The request to send to STS whenever the assumed session expires.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.