Interface MobileDeviceAccessRule.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MobileDeviceAccessRule.Builder,MobileDeviceAccessRule>, SdkBuilder<MobileDeviceAccessRule.Builder,MobileDeviceAccessRule>, SdkPojo
Enclosing class:
MobileDeviceAccessRule

public static interface MobileDeviceAccessRule.Builder extends SdkPojo, CopyableBuilder<MobileDeviceAccessRule.Builder,MobileDeviceAccessRule>
  • Method Details

    • mobileDeviceAccessRuleId

      MobileDeviceAccessRule.Builder mobileDeviceAccessRuleId(String mobileDeviceAccessRuleId)

      The ID assigned to a mobile access rule.

      Parameters:
      mobileDeviceAccessRuleId - The ID assigned to a mobile access rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of a mobile access rule.

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

      MobileDeviceAccessRule.Builder description(String description)

      The description of a mobile access rule.

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

      The effect of the rule when it matches. Allowed values are ALLOW or DENY.

      Parameters:
      effect - The effect of the rule when it matches. Allowed values are ALLOW or DENY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • effect

      The effect of the rule when it matches. Allowed values are ALLOW or DENY.

      Parameters:
      effect - The effect of the rule when it matches. Allowed values are ALLOW or DENY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deviceTypes

      Device types that a rule will match.

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

      MobileDeviceAccessRule.Builder deviceTypes(String... deviceTypes)

      Device types that a rule will match.

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

      MobileDeviceAccessRule.Builder notDeviceTypes(Collection<String> notDeviceTypes)

      Device types that a rule will not match. All other device types will match.

      Parameters:
      notDeviceTypes - Device types that a 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

      MobileDeviceAccessRule.Builder notDeviceTypes(String... notDeviceTypes)

      Device types that a rule will not match. All other device types will match.

      Parameters:
      notDeviceTypes - Device types that a 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

      MobileDeviceAccessRule.Builder deviceModels(Collection<String> deviceModels)

      Device models that a rule will match.

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

      MobileDeviceAccessRule.Builder deviceModels(String... deviceModels)

      Device models that a rule will match.

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

      MobileDeviceAccessRule.Builder notDeviceModels(Collection<String> notDeviceModels)

      Device models that a rule will not match. All other device models will match.

      Parameters:
      notDeviceModels - Device models that a 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

      MobileDeviceAccessRule.Builder notDeviceModels(String... notDeviceModels)

      Device models that a rule will not match. All other device models will match.

      Parameters:
      notDeviceModels - Device models that a 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

      MobileDeviceAccessRule.Builder deviceOperatingSystems(Collection<String> deviceOperatingSystems)

      Device operating systems that a rule will match.

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

      MobileDeviceAccessRule.Builder deviceOperatingSystems(String... deviceOperatingSystems)

      Device operating systems that a rule will match.

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

      MobileDeviceAccessRule.Builder notDeviceOperatingSystems(Collection<String> notDeviceOperatingSystems)

      Device operating systems that a rule will not match. All other device types will match.

      Parameters:
      notDeviceOperatingSystems - Device operating systems that a 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.
    • notDeviceOperatingSystems

      MobileDeviceAccessRule.Builder notDeviceOperatingSystems(String... notDeviceOperatingSystems)

      Device operating systems that a rule will not match. All other device types will match.

      Parameters:
      notDeviceOperatingSystems - Device operating systems that a 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.
    • deviceUserAgents

      MobileDeviceAccessRule.Builder deviceUserAgents(Collection<String> deviceUserAgents)

      Device user agents that a rule will match.

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

      MobileDeviceAccessRule.Builder deviceUserAgents(String... deviceUserAgents)

      Device user agents that a rule will match.

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

      MobileDeviceAccessRule.Builder notDeviceUserAgents(Collection<String> notDeviceUserAgents)

      Device user agents that a rule will not match. All other device user agents will match.

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

      MobileDeviceAccessRule.Builder notDeviceUserAgents(String... notDeviceUserAgents)

      Device user agents that a rule will not match. All other device user agents will match.

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

      MobileDeviceAccessRule.Builder dateCreated(Instant dateCreated)

      The date and time at which an access rule was created.

      Parameters:
      dateCreated - The date and time at which an access rule was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dateModified

      MobileDeviceAccessRule.Builder dateModified(Instant dateModified)

      The date and time at which an access rule was modified.

      Parameters:
      dateModified - The date and time at which an access rule was modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.