Interface Segment.Builder

    • Method Detail

      • arn

        Segment.Builder arn​(String arn)

        The ARN of the segment.

        Parameters:
        arn - The ARN of the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTime

        Segment.Builder createdTime​(Instant createdTime)

        The date and time that this segment was created.

        Parameters:
        createdTime - The date and time that this segment was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Segment.Builder description​(String description)

        The customer-created description for this segment.

        Parameters:
        description - The customer-created description for this segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • experimentCount

        Segment.Builder experimentCount​(Long experimentCount)

        The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running.

        Parameters:
        experimentCount - The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        Segment.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        The date and time that this segment was most recently updated.

        Parameters:
        lastUpdatedTime - The date and time that this segment was most recently updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • launchCount

        Segment.Builder launchCount​(Long launchCount)

        The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running.

        Parameters:
        launchCount - The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Segment.Builder name​(String name)

        The name of the segment.

        Parameters:
        name - The name of the segment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pattern

        Segment.Builder pattern​(String pattern)

        The pattern that defines the attributes to use to evalute whether a user session will be in the segment. For more information about the pattern syntax, see Segment rule pattern syntax.

        Parameters:
        pattern - The pattern that defines the attributes to use to evalute whether a user session will be in the segment. For more information about the pattern syntax, see Segment rule pattern syntax.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Segment.Builder tags​(Map<String,​String> tags)

        The list of tag keys and values associated with this launch.

        Parameters:
        tags - The list of tag keys and values associated with this launch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.