Interface AccessControlRule.Builder

    • Method Detail

      • name

        AccessControlRule.Builder name​(String name)

        The rule name.

        Parameters:
        name - The rule name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        AccessControlRule.Builder description​(String description)

        The rule description.

        Parameters:
        description - The rule description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipRanges

        AccessControlRule.Builder ipRanges​(Collection<String> ipRanges)

        IPv4 CIDR ranges to include in the rule.

        Parameters:
        ipRanges - IPv4 CIDR ranges to include in the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipRanges

        AccessControlRule.Builder ipRanges​(String... ipRanges)

        IPv4 CIDR ranges to include in the rule.

        Parameters:
        ipRanges - IPv4 CIDR ranges to include in the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notIpRanges

        AccessControlRule.Builder notIpRanges​(Collection<String> notIpRanges)

        IPv4 CIDR ranges to exclude from the rule.

        Parameters:
        notIpRanges - IPv4 CIDR ranges to exclude from the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notIpRanges

        AccessControlRule.Builder notIpRanges​(String... notIpRanges)

        IPv4 CIDR ranges to exclude from the rule.

        Parameters:
        notIpRanges - IPv4 CIDR ranges to exclude from the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        AccessControlRule.Builder actions​(Collection<String> actions)

        Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

        Parameters:
        actions - Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        AccessControlRule.Builder actions​(String... actions)

        Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

        Parameters:
        actions - Access protocol actions to include in the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notActions

        AccessControlRule.Builder notActions​(Collection<String> notActions)

        Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

        Parameters:
        notActions - Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notActions

        AccessControlRule.Builder notActions​(String... notActions)

        Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

        Parameters:
        notActions - Access protocol actions to exclude from the rule. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userIds

        AccessControlRule.Builder userIds​(Collection<String> userIds)

        User IDs to include in the rule.

        Parameters:
        userIds - User IDs to include in the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userIds

        AccessControlRule.Builder userIds​(String... userIds)

        User IDs to include in the rule.

        Parameters:
        userIds - User IDs to include in the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notUserIds

        AccessControlRule.Builder notUserIds​(Collection<String> notUserIds)

        User IDs to exclude from the rule.

        Parameters:
        notUserIds - User IDs to exclude from the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notUserIds

        AccessControlRule.Builder notUserIds​(String... notUserIds)

        User IDs to exclude from the rule.

        Parameters:
        notUserIds - User IDs to exclude from the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateCreated

        AccessControlRule.Builder dateCreated​(Instant dateCreated)

        The date that the rule was created.

        Parameters:
        dateCreated - The date that the rule was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateModified

        AccessControlRule.Builder dateModified​(Instant dateModified)

        The date that the rule was modified.

        Parameters:
        dateModified - The date that the rule was modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • impersonationRoleIds

        AccessControlRule.Builder impersonationRoleIds​(Collection<String> impersonationRoleIds)

        Impersonation role IDs to include in the rule.

        Parameters:
        impersonationRoleIds - Impersonation role IDs to include in the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • impersonationRoleIds

        AccessControlRule.Builder impersonationRoleIds​(String... impersonationRoleIds)

        Impersonation role IDs to include in the rule.

        Parameters:
        impersonationRoleIds - Impersonation role IDs to include in the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notImpersonationRoleIds

        AccessControlRule.Builder notImpersonationRoleIds​(Collection<String> notImpersonationRoleIds)

        Impersonation role IDs to exclude from the rule.

        Parameters:
        notImpersonationRoleIds - Impersonation role IDs to exclude from the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notImpersonationRoleIds

        AccessControlRule.Builder notImpersonationRoleIds​(String... notImpersonationRoleIds)

        Impersonation role IDs to exclude from the rule.

        Parameters:
        notImpersonationRoleIds - Impersonation role IDs to exclude from the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.