Class Segment.Builder

  • Enclosing class:
    Segment

    public static final class Segment.Builder
    extends java.lang.Object
    • Method Detail

      • type

        public Segment.Builder type​(java.util.Optional<java.lang.String> type)

        The type of object.

      • id

        public Segment.Builder id​(java.util.Optional<java.lang.String> id)

        The unique identifier representing the segment.

      • name

        public Segment.Builder name​(java.util.Optional<java.lang.String> name)

        The name of the segment.

      • createdAt

        public Segment.Builder createdAt​(java.util.Optional<java.lang.Integer> createdAt)

        The time the segment was created.

      • createdAt

        public Segment.Builder createdAt​(java.lang.Integer createdAt)
      • updatedAt

        public Segment.Builder updatedAt​(java.util.Optional<java.lang.Integer> updatedAt)

        The time the segment was updated.

      • updatedAt

        public Segment.Builder updatedAt​(java.lang.Integer updatedAt)
      • count

        public Segment.Builder count​(java.util.Optional<java.lang.Integer> count)

        The number of items in the user segment. It's returned when include_count=true is included in the request.