Interface SegmentGroupStructure.Builder

    • Method Detail

      • groups

        SegmentGroupStructure.Builder groups​(Collection<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

        SegmentGroupStructure.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

        SegmentGroupStructure.Builder groups​(Consumer<Group.Builder>... 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).

        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:
        #groups(java.util.Collection)
      • include

        SegmentGroupStructure.Builder include​(String include)

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

        Parameters:
        include - Define 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:
        IncludeOptions, IncludeOptions
      • include

        SegmentGroupStructure.Builder include​(IncludeOptions include)

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

        Parameters:
        include - Define 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:
        IncludeOptions, IncludeOptions