Interface ApplicableTo.Builder

  • Method Details

    • type

      The type of scoping that determines which principals the approval policy applies to. Valid values are defined as follows:

      • GROUP: The policy applies only to principals in the groups specified by GroupArns. When you use GROUP, you must also provide a value for GroupArns.

      Parameters:
      type - The type of scoping that determines which principals the approval policy applies to. Valid values are defined as follows:

      • GROUP: The policy applies only to principals in the groups specified by GroupArns. When you use GROUP, you must also provide a value for GroupArns.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of scoping that determines which principals the approval policy applies to. Valid values are defined as follows:

      • GROUP: The policy applies only to principals in the groups specified by GroupArns. When you use GROUP, you must also provide a value for GroupArns.

      Parameters:
      type - The type of scoping that determines which principals the approval policy applies to. Valid values are defined as follows:

      • GROUP: The policy applies only to principals in the groups specified by GroupArns. When you use GROUP, you must also provide a value for GroupArns.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • groupArns

      ApplicableTo.Builder groupArns(Collection<String> groupArns)

      The list of group ARNs that the policy applies to. Required when type is GROUP.

      Parameters:
      groupArns - The list of group ARNs that the policy applies to. Required when type is GROUP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupArns

      ApplicableTo.Builder groupArns(String... groupArns)

      The list of group ARNs that the policy applies to. Required when type is GROUP.

      Parameters:
      groupArns - The list of group ARNs that the policy applies to. Required when type is GROUP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.