Interface StreamSessionSummary.Builder

    • Method Detail

      • endTime

        StreamSessionSummary.Builder endTime​(Instant endTime)

        Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string. For live streams, this is NULL.

        Parameters:
        endTime - Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string. For live streams, this is NULL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hasErrorEvent

        StreamSessionSummary.Builder hasErrorEvent​(Boolean hasErrorEvent)

        If true, this stream encountered a quota breach or failure.

        Parameters:
        hasErrorEvent - If true, this stream encountered a quota breach or failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        StreamSessionSummary.Builder startTime​(Instant startTime)

        Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.

        Parameters:
        startTime - Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamId

        StreamSessionSummary.Builder streamId​(String streamId)

        Unique identifier for a live or previously live stream in the specified channel.

        Parameters:
        streamId - Unique identifier for a live or previously live stream in the specified channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.