Interface StreamSessionSummary.Builder

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

public static interface StreamSessionSummary.Builder extends SdkPojo, CopyableBuilder<StreamSessionSummary.Builder,StreamSessionSummary>
  • Method Details

    • 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

      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.