Interface Credentials.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Credentials.Builder,
,Credentials> SdkBuilder<Credentials.Builder,
,Credentials> SdkPojo
- Enclosing class:
Credentials
public static interface Credentials.Builder
extends SdkPojo, CopyableBuilder<Credentials.Builder,Credentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) An access token generated for a federated user to access Amazon Connect.accessTokenExpiration
(Instant accessTokenExpiration) A token generated with an expiration time for the session a user is logged in to Amazon Connect.refreshToken
(String refreshToken) Renews a token generated for a user to access the Amazon Connect instance.refreshTokenExpiration
(Instant refreshTokenExpiration) Renews the expiration timer for a generated token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accessToken
An access token generated for a federated user to access Amazon Connect.
- Parameters:
accessToken
- An access token generated for a federated user to access Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessTokenExpiration
A token generated with an expiration time for the session a user is logged in to Amazon Connect.
- Parameters:
accessTokenExpiration
- A token generated with an expiration time for the session a user is logged in to Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshToken
Renews a token generated for a user to access the Amazon Connect instance.
- Parameters:
refreshToken
- Renews a token generated for a user to access the Amazon Connect instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshTokenExpiration
Renews the expiration timer for a generated token.
- Parameters:
refreshTokenExpiration
- Renews the expiration timer for a generated token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-