Interface PersonalAccessTokenConfiguration.Builder

    • Method Detail

      • status

        PersonalAccessTokenConfiguration.Builder status​(String status)

        The status of the Personal Access Token allowed for the organization.

        • Active - Mailbox users can login to the web application and choose Settings to see the new Personal Access Tokens page to create and delete the Personal Access Tokens. Mailbox users can use the Personal Access Tokens to set up mailbox connection from desktop or mobile email clients.

        • Inactive - Personal Access Tokens are disabled for your organization. Mailbox users can’t create, list, or delete Personal Access Tokens and can’t use them to connect to their mailboxes from desktop or mobile email clients.

        Parameters:
        status - The status of the Personal Access Token allowed for the organization.

        • Active - Mailbox users can login to the web application and choose Settings to see the new Personal Access Tokens page to create and delete the Personal Access Tokens. Mailbox users can use the Personal Access Tokens to set up mailbox connection from desktop or mobile email clients.

        • Inactive - Personal Access Tokens are disabled for your organization. Mailbox users can’t create, list, or delete Personal Access Tokens and can’t use them to connect to their mailboxes from desktop or mobile email clients.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PersonalAccessTokenConfigurationStatus, PersonalAccessTokenConfigurationStatus
      • status

        PersonalAccessTokenConfiguration.Builder status​(PersonalAccessTokenConfigurationStatus status)

        The status of the Personal Access Token allowed for the organization.

        • Active - Mailbox users can login to the web application and choose Settings to see the new Personal Access Tokens page to create and delete the Personal Access Tokens. Mailbox users can use the Personal Access Tokens to set up mailbox connection from desktop or mobile email clients.

        • Inactive - Personal Access Tokens are disabled for your organization. Mailbox users can’t create, list, or delete Personal Access Tokens and can’t use them to connect to their mailboxes from desktop or mobile email clients.

        Parameters:
        status - The status of the Personal Access Token allowed for the organization.

        • Active - Mailbox users can login to the web application and choose Settings to see the new Personal Access Tokens page to create and delete the Personal Access Tokens. Mailbox users can use the Personal Access Tokens to set up mailbox connection from desktop or mobile email clients.

        • Inactive - Personal Access Tokens are disabled for your organization. Mailbox users can’t create, list, or delete Personal Access Tokens and can’t use them to connect to their mailboxes from desktop or mobile email clients.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PersonalAccessTokenConfigurationStatus, PersonalAccessTokenConfigurationStatus
      • lifetimeInDays

        PersonalAccessTokenConfiguration.Builder lifetimeInDays​(Integer lifetimeInDays)

        The validity of the Personal Access Token status in days.

        Parameters:
        lifetimeInDays - The validity of the Personal Access Token status in days.
        Returns:
        Returns a reference to this object so that method calls can be chained together.