@NotThreadSafe public static final class StsAssumeRoleWithWebIdentityCredentialsProvider.Builder extends Object
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. |
StsAssumeRoleWithWebIdentityCredentialsProvider.Builder |
refreshRequest(Consumer<AssumeRoleWithWebIdentityRequest.Builder> assumeRoleWithWebIdentityRequest)
Similar to
refreshRequest(AssumeRoleWithWebIdentityRequest), but takes a lambda to configure a new
AssumeRoleWithWebIdentityRequest.Builder. |
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.public StsAssumeRoleWithWebIdentityCredentialsProvider.Builder refreshRequest(Consumer<AssumeRoleWithWebIdentityRequest.Builder> assumeRoleWithWebIdentityRequest)
refreshRequest(AssumeRoleWithWebIdentityRequest), but takes a lambda to configure a new
AssumeRoleWithWebIdentityRequest.Builder. This removes the need to called
AssumeRoleWithWebIdentityRequest.builder() and AssumeRoleWithWebIdentityRequest.Builder#build().Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.