@NotThreadSafe public static final class StsGetFederationTokenCredentialsProvider.Builder extends Object
StsGetFederationTokenCredentialsProvider.builder()) for creating a
StsGetFederationTokenCredentialsProvider.| Modifier and Type | Method and Description |
|---|---|
StsGetFederationTokenCredentialsProvider.Builder |
refreshRequest(Consumer<GetFederationTokenRequest.Builder> getFederationTokenRequest)
Similar to
refreshRequest(GetFederationTokenRequest), but takes a lambda to configure a new
GetFederationTokenRequest.Builder. |
StsGetFederationTokenCredentialsProvider.Builder |
refreshRequest(GetFederationTokenRequest getFederationTokenRequest)
Configure the
GetFederationTokenRequest that should be periodically sent to the STS service to update the
session token when it gets close to expiring. |
public StsGetFederationTokenCredentialsProvider.Builder refreshRequest(GetFederationTokenRequest getFederationTokenRequest)
GetFederationTokenRequest that should be periodically sent to the STS service to update the
session token when it gets close to expiring.getFederationTokenRequest - The request to send to STS whenever the assumed session expires.public StsGetFederationTokenCredentialsProvider.Builder refreshRequest(Consumer<GetFederationTokenRequest.Builder> getFederationTokenRequest)
refreshRequest(GetFederationTokenRequest), but takes a lambda to configure a new
GetFederationTokenRequest.Builder. This removes the need to called
GetFederationTokenRequest.builder() and GetFederationTokenRequest.Builder#build().Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.