Interface ListCondition.Builder

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

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

    • targetListType

      ListCondition.Builder targetListType(String targetListType)

      The type of target list that will be used to filter the users.

      Parameters:
      targetListType - The type of target list that will be used to filter the users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetListType

      ListCondition.Builder targetListType(TargetListType targetListType)

      The type of target list that will be used to filter the users.

      Parameters:
      targetListType - The type of target list that will be used to filter the users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • conditions

      ListCondition.Builder conditions(Collection<Condition> conditions)

      A list of Condition objects which would be applied together with an AND condition.

      Parameters:
      conditions - A list of Condition objects which would be applied together with an AND condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      ListCondition.Builder conditions(Condition... conditions)

      A list of Condition objects which would be applied together with an AND condition.

      Parameters:
      conditions - A list of Condition objects which would be applied together with an AND condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      ListCondition.Builder conditions(Consumer<Condition.Builder>... conditions)

      A list of Condition objects which would be applied together with an AND condition.

      This is a convenience method that creates an instance of the Condition.Builder avoiding the need to create one manually via Condition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conditions(List<Condition>).

      Parameters:
      conditions - a consumer that will call methods on Condition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: