Interface UpdateMobileDeviceAccessRuleRequest.Builder

    • Method Detail

      • organizationId

        UpdateMobileDeviceAccessRuleRequest.Builder organizationId​(String organizationId)

        The WorkMail organization under which the rule will be updated.

        Parameters:
        organizationId - The WorkMail organization under which the rule will be updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mobileDeviceAccessRuleId

        UpdateMobileDeviceAccessRuleRequest.Builder mobileDeviceAccessRuleId​(String mobileDeviceAccessRuleId)

        The identifier of the rule to be updated.

        Parameters:
        mobileDeviceAccessRuleId - The identifier of the rule to be updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateMobileDeviceAccessRuleRequest.Builder description​(String description)

        The updated rule description.

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

        UpdateMobileDeviceAccessRuleRequest.Builder deviceTypes​(Collection<String> deviceTypes)

        Device types that the updated rule will match.

        Parameters:
        deviceTypes - Device types that the updated rule will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceTypes

        UpdateMobileDeviceAccessRuleRequest.Builder deviceTypes​(String... deviceTypes)

        Device types that the updated rule will match.

        Parameters:
        deviceTypes - Device types that the updated rule will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notDeviceTypes

        UpdateMobileDeviceAccessRuleRequest.Builder notDeviceTypes​(Collection<String> notDeviceTypes)

        Device types that the updated rule will not match. All other device types will match.

        Parameters:
        notDeviceTypes - Device types that the updated rule will not match. All other device types will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notDeviceTypes

        UpdateMobileDeviceAccessRuleRequest.Builder notDeviceTypes​(String... notDeviceTypes)

        Device types that the updated rule will not match. All other device types will match.

        Parameters:
        notDeviceTypes - Device types that the updated rule will not match. All other device types will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceModels

        UpdateMobileDeviceAccessRuleRequest.Builder deviceModels​(Collection<String> deviceModels)

        Device models that the updated rule will match.

        Parameters:
        deviceModels - Device models that the updated rule will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceModels

        UpdateMobileDeviceAccessRuleRequest.Builder deviceModels​(String... deviceModels)

        Device models that the updated rule will match.

        Parameters:
        deviceModels - Device models that the updated rule will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notDeviceModels

        UpdateMobileDeviceAccessRuleRequest.Builder notDeviceModels​(Collection<String> notDeviceModels)

        Device models that the updated rule will not match. All other device models will match.

        Parameters:
        notDeviceModels - Device models that the updated rule will not match. All other device models will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notDeviceModels

        UpdateMobileDeviceAccessRuleRequest.Builder notDeviceModels​(String... notDeviceModels)

        Device models that the updated rule will not match. All other device models will match.

        Parameters:
        notDeviceModels - Device models that the updated rule will not match. All other device models will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceOperatingSystems

        UpdateMobileDeviceAccessRuleRequest.Builder deviceOperatingSystems​(Collection<String> deviceOperatingSystems)

        Device operating systems that the updated rule will match.

        Parameters:
        deviceOperatingSystems - Device operating systems that the updated rule will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceOperatingSystems

        UpdateMobileDeviceAccessRuleRequest.Builder deviceOperatingSystems​(String... deviceOperatingSystems)

        Device operating systems that the updated rule will match.

        Parameters:
        deviceOperatingSystems - Device operating systems that the updated rule will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notDeviceOperatingSystems

        UpdateMobileDeviceAccessRuleRequest.Builder notDeviceOperatingSystems​(Collection<String> notDeviceOperatingSystems)

        Device operating systems that the updated rule will not match. All other device operating systems will match.

        Parameters:
        notDeviceOperatingSystems - Device operating systems that the updated rule will not match. All other device operating systems will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notDeviceOperatingSystems

        UpdateMobileDeviceAccessRuleRequest.Builder notDeviceOperatingSystems​(String... notDeviceOperatingSystems)

        Device operating systems that the updated rule will not match. All other device operating systems will match.

        Parameters:
        notDeviceOperatingSystems - Device operating systems that the updated rule will not match. All other device operating systems will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceUserAgents

        UpdateMobileDeviceAccessRuleRequest.Builder deviceUserAgents​(Collection<String> deviceUserAgents)

        User agents that the updated rule will match.

        Parameters:
        deviceUserAgents - User agents that the updated rule will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceUserAgents

        UpdateMobileDeviceAccessRuleRequest.Builder deviceUserAgents​(String... deviceUserAgents)

        User agents that the updated rule will match.

        Parameters:
        deviceUserAgents - User agents that the updated rule will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notDeviceUserAgents

        UpdateMobileDeviceAccessRuleRequest.Builder notDeviceUserAgents​(Collection<String> notDeviceUserAgents)

        User agents that the updated rule will not match. All other user agents will match.

        Parameters:
        notDeviceUserAgents - User agents that the updated rule will not match. All other user agents will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notDeviceUserAgents

        UpdateMobileDeviceAccessRuleRequest.Builder notDeviceUserAgents​(String... notDeviceUserAgents)

        User agents that the updated rule will not match. All other user agents will match.

        Parameters:
        notDeviceUserAgents - User agents that the updated rule will not match. All other user agents will match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.