Segment

class Segment

This structure contains information about one audience segment. You can use segments in your experiments and launches to narrow the user sessions used for experiment or launch to only the user sessions that match one or more criteria.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String

The ARN of the segment.

Link copied to clipboard

The date and time that this segment was created.

Link copied to clipboard

The customer-created description for this segment.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The name of the segment.

Link copied to clipboard

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.

Link copied to clipboard

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

Functions

Link copied to clipboard
inline fun copy(block: Segment.Builder.() -> Unit = {}): Segment
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String