Interface ImpersonationRule.Builder

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

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

    • impersonationRuleId

      ImpersonationRule.Builder impersonationRuleId(String impersonationRuleId)

      The identifier of the rule.

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

      ImpersonationRule.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.
    • effect

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

      Parameters:
      effect - The effect of the rule when it matches the input. Allowed effect 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 the input. Allowed effect values are ALLOW or DENY.

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

      ImpersonationRule.Builder targetUsers(Collection<String> targetUsers)

      A list of user IDs that match the rule.

      Parameters:
      targetUsers - A list of user IDs that match the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetUsers

      ImpersonationRule.Builder targetUsers(String... targetUsers)

      A list of user IDs that match the rule.

      Parameters:
      targetUsers - A list of user IDs that match the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notTargetUsers

      ImpersonationRule.Builder notTargetUsers(Collection<String> notTargetUsers)

      A list of user IDs that don't match the rule.

      Parameters:
      notTargetUsers - A list of user IDs that don't match the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notTargetUsers

      ImpersonationRule.Builder notTargetUsers(String... notTargetUsers)

      A list of user IDs that don't match the rule.

      Parameters:
      notTargetUsers - A list of user IDs that don't match the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.