Class WebIdentityTokenCredentialProperties.Builder
- java.lang.Object
-
- software.amazon.awssdk.auth.credentials.internal.WebIdentityTokenCredentialProperties.Builder
-
- Enclosing class:
- WebIdentityTokenCredentialProperties
public static final class WebIdentityTokenCredentialProperties.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebIdentityTokenCredentialProperties.Builder
asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled)
WebIdentityTokenCredentialProperties
build()
WebIdentityTokenCredentialProperties.Builder
prefetchTime(Duration prefetchTime)
WebIdentityTokenCredentialProperties.Builder
roleArn(String roleArn)
WebIdentityTokenCredentialProperties.Builder
roleSessionDuration(Duration roleSessionDuration)
WebIdentityTokenCredentialProperties.Builder
roleSessionName(String roleSessionName)
WebIdentityTokenCredentialProperties.Builder
staleTime(Duration staleTime)
WebIdentityTokenCredentialProperties.Builder
webIdentityTokenFile(Path webIdentityTokenFile)
-
-
-
Method Detail
-
roleArn
public WebIdentityTokenCredentialProperties.Builder roleArn(String roleArn)
-
roleSessionName
public WebIdentityTokenCredentialProperties.Builder roleSessionName(String roleSessionName)
-
webIdentityTokenFile
public WebIdentityTokenCredentialProperties.Builder webIdentityTokenFile(Path webIdentityTokenFile)
-
asyncCredentialUpdateEnabled
public WebIdentityTokenCredentialProperties.Builder asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled)
-
prefetchTime
public WebIdentityTokenCredentialProperties.Builder prefetchTime(Duration prefetchTime)
-
staleTime
public WebIdentityTokenCredentialProperties.Builder staleTime(Duration staleTime)
-
roleSessionDuration
public WebIdentityTokenCredentialProperties.Builder roleSessionDuration(Duration roleSessionDuration)
-
build
public WebIdentityTokenCredentialProperties build()
-
-