Interface Transcript.Builder

    • Method Detail

      • id

        Transcript.Builder id​(String id)

        The identifier of the transcript.

        Parameters:
        id - The identifier of the transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • participantId

        Transcript.Builder participantId​(String participantId)

        The identifier of the participant. Valid values are CUSTOMER or AGENT.

        Parameters:
        participantId - The identifier of the participant. Valid values are CUSTOMER or AGENT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • participantRole

        Transcript.Builder participantRole​(String participantRole)

        The role of participant. For example, is it a customer, agent, or system.

        Parameters:
        participantRole - The role of participant. For example, is it a customer, agent, or system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        Transcript.Builder content​(String content)

        The content of the transcript.

        Parameters:
        content - The content of the transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beginOffsetMillis

        Transcript.Builder beginOffsetMillis​(Integer beginOffsetMillis)

        The beginning offset in the contact for this transcript.

        Parameters:
        beginOffsetMillis - The beginning offset in the contact for this transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endOffsetMillis

        Transcript.Builder endOffsetMillis​(Integer endOffsetMillis)

        The end offset in the contact for this transcript.

        Parameters:
        endOffsetMillis - The end offset in the contact for this transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sentiment

        Transcript.Builder sentiment​(String sentiment)

        The sentiment detected for this piece of transcript.

        Parameters:
        sentiment - The sentiment detected for this piece of transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SentimentValue, SentimentValue
      • sentiment

        Transcript.Builder sentiment​(SentimentValue sentiment)

        The sentiment detected for this piece of transcript.

        Parameters:
        sentiment - The sentiment detected for this piece of transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SentimentValue, SentimentValue
      • issuesDetected

        Transcript.Builder issuesDetected​(Collection<IssueDetected> issuesDetected)

        List of positions where issues were detected on the transcript.

        Parameters:
        issuesDetected - List of positions where issues were detected on the transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • issuesDetected

        Transcript.Builder issuesDetected​(IssueDetected... issuesDetected)

        List of positions where issues were detected on the transcript.

        Parameters:
        issuesDetected - List of positions where issues were detected on the transcript.
        Returns:
        Returns a reference to this object so that method calls can be chained together.