Interface PersonalAccessTokenSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PersonalAccessTokenSummary.Builder,
,PersonalAccessTokenSummary> SdkBuilder<PersonalAccessTokenSummary.Builder,
,PersonalAccessTokenSummary> SdkPojo
- Enclosing class:
PersonalAccessTokenSummary
@Mutable
@NotThreadSafe
public static interface PersonalAccessTokenSummary.Builder
extends SdkPojo, CopyableBuilder<PersonalAccessTokenSummary.Builder,PersonalAccessTokenSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondateCreated
(Instant dateCreated) The date when the Personal Access Token was created.dateLastUsed
(Instant dateLastUsed) The date when the Personal Access Token was last used.expiresTime
(Instant expiresTime) The date when the Personal Access Token will expire.The name of the Personal Access Token.personalAccessTokenId
(String personalAccessTokenId) The ID of the Personal Access Token.Lists all the Personal Access Token permissions for a mailbox.scopes
(Collection<String> scopes) Lists all the Personal Access Token permissions for a mailbox.The user ID of the WorkMail user associated with the Personal Access 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, sdkFieldNameToField, sdkFields
-
Method Details
-
personalAccessTokenId
The ID of the Personal Access Token.
- Parameters:
personalAccessTokenId
- The ID of the Personal Access Token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The user ID of the WorkMail user associated with the Personal Access Token.
- Parameters:
userId
- The user ID of the WorkMail user associated with the Personal Access Token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the Personal Access Token.
- Parameters:
name
- The name of the Personal Access Token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateCreated
The date when the Personal Access Token was created.
- Parameters:
dateCreated
- The date when the Personal Access Token was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateLastUsed
The date when the Personal Access Token was last used.
- Parameters:
dateLastUsed
- The date when the Personal Access Token was last used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresTime
The date when the Personal Access Token will expire.
- Parameters:
expiresTime
- The date when the Personal Access Token will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
Lists all the Personal Access Token permissions for a mailbox.
- Parameters:
scopes
- Lists all the Personal Access Token permissions for a mailbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
Lists all the Personal Access Token permissions for a mailbox.
- Parameters:
scopes
- Lists all the Personal Access Token permissions for a mailbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-