@NotThreadSafe public static final class StsGetSessionTokenCredentialsProvider.Builder extends Object
StsGetSessionTokenCredentialsProvider.builder()) for creating a
 StsGetSessionTokenCredentialsProvider.| Modifier and Type | Method and Description | 
|---|---|
| StsGetSessionTokenCredentialsProvider.Builder | refreshRequest(Consumer<GetSessionTokenRequest.Builder> getFederationTokenRequest)Similar to  refreshRequest(GetSessionTokenRequest), but takes a lambda to configure a newGetSessionTokenRequest.Builder. | 
| StsGetSessionTokenCredentialsProvider.Builder | refreshRequest(GetSessionTokenRequest getSessionTokenRequest)Configure the  GetSessionTokenRequestthat 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.public StsGetSessionTokenCredentialsProvider.Builder refreshRequest(Consumer<GetSessionTokenRequest.Builder> getFederationTokenRequest)
refreshRequest(GetSessionTokenRequest), but takes a lambda to configure a new
 GetSessionTokenRequest.Builder. This removes the need to called
 GetSessionTokenRequest.builder() and GetSessionTokenRequest.Builder#build().Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.