Interface Session.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Session.Builder,Session>, SdkBuilder<Session.Builder,Session>, SdkPojo
Enclosing class:
Session

@Mutable @NotThreadSafe public static interface Session.Builder extends SdkPojo, CopyableBuilder<Session.Builder,Session>
  • Method Details

    • duration

      Session.Builder duration(Integer duration)

      The duration of the session, in milliseconds.

      Parameters:
      duration - The duration of the session, in milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique identifier for the session.

      Parameters:
      id - The unique identifier for the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimestamp

      Session.Builder startTimestamp(String startTimestamp)

      The date and time when the session began.

      Parameters:
      startTimestamp - The date and time when the session began.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stopTimestamp

      Session.Builder stopTimestamp(String stopTimestamp)

      The date and time when the session ended.

      Parameters:
      stopTimestamp - The date and time when the session ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.