Interface UpdateMobileDeviceAccessRuleRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,UpdateMobileDeviceAccessRuleRequest>, SdkBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,UpdateMobileDeviceAccessRuleRequest>, SdkPojo, SdkRequest.Builder, WorkMailRequest.Builder
Enclosing class:
UpdateMobileDeviceAccessRuleRequest

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

    • 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.
    • name

      The updated rule name.

      Parameters:
      name - The updated rule name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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 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

      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

      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

      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

      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.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.