Interface SegmentGroup.Builder

  • Method Details

    • groups

      Holds the list of groups within the segment definition.

      Parameters:
      groups - Holds the list of groups within the segment definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      SegmentGroup.Builder groups(Group... groups)

      Holds the list of groups within the segment definition.

      Parameters:
      groups - Holds the list of groups within the segment definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      Holds the list of groups within the segment definition.

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

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

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

      SegmentGroup.Builder include(String include)

      Defines whether to include or exclude the profiles that fit the segment criteria.

      Parameters:
      include - Defines whether to include or exclude the profiles that fit the segment criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • include

      Defines whether to include or exclude the profiles that fit the segment criteria.

      Parameters:
      include - Defines whether to include or exclude the profiles that fit the segment criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: