Interface GetPersonalAccessTokenMetadataResponse.Builder

  • Method Details

    • personalAccessTokenId

      GetPersonalAccessTokenMetadataResponse.Builder personalAccessTokenId(String personalAccessTokenId)

      The Personal Access Token ID.

      Parameters:
      personalAccessTokenId - The Personal Access Token ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      The WorkMail User ID.

      Parameters:
      userId - The WorkMail User ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The Personal Access Token name.

      Parameters:
      name - The Personal Access Token name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dateCreated

      The date when the Personal Access Token ID was created.

      Parameters:
      dateCreated - The date when the Personal Access Token ID 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 ID was last used.

      Parameters:
      dateLastUsed - The date when the Personal Access Token ID was last used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresTime

      The time when the Personal Access Token ID will expire.

      Parameters:
      expiresTime - The time when the Personal Access Token ID 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.