Class RealTimeContactAnalysisSegmentTranscript
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.RealTimeContactAnalysisSegmentTranscript
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RealTimeContactAnalysisSegmentTranscript.Builder,RealTimeContactAnalysisSegmentTranscript>
@Generated("software.amazon.awssdk:codegen") public final class RealTimeContactAnalysisSegmentTranscript extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RealTimeContactAnalysisSegmentTranscript.Builder,RealTimeContactAnalysisSegmentTranscript>
The analyzed transcript segment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RealTimeContactAnalysisSegmentTranscript.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RealTimeContactAnalysisSegmentTranscript.Builder
builder()
String
content()
The content of the transcript.String
contentType()
The type of content of the item.String
displayName()
The display name of the participant.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
The identifier of the transcript.String
participantId()
The identifier of the participant.ParticipantRole
participantRole()
The role of the participant.String
participantRoleAsString()
The role of the participant.RealTimeContactAnalysisTranscriptItemRedaction
redaction()
Object describing redaction that was applied to the transcript.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
RealTimeContactAnalysisSentimentLabel
sentiment()
The sentiment detected for this piece of transcript.String
sentimentAsString()
The sentiment detected for this piece of transcript.static Class<? extends RealTimeContactAnalysisSegmentTranscript.Builder>
serializableBuilderClass()
RealTimeContactAnalysisTimeData
time()
Field describing the time of the event.RealTimeContactAnalysisSegmentTranscript.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The identifier of the transcript.
- Returns:
- The identifier of the transcript.
-
participantId
public final String participantId()
The identifier of the participant.
- Returns:
- The identifier of the participant.
-
participantRole
public final ParticipantRole participantRole()
The role of the participant. For example, is it a customer, agent, or system.
If the service returns an enum value that is not available in the current SDK version,
participantRole
will returnParticipantRole.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromparticipantRoleAsString()
.- Returns:
- The role of the participant. For example, is it a customer, agent, or system.
- See Also:
ParticipantRole
-
participantRoleAsString
public final String participantRoleAsString()
The role of the participant. For example, is it a customer, agent, or system.
If the service returns an enum value that is not available in the current SDK version,
participantRole
will returnParticipantRole.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromparticipantRoleAsString()
.- Returns:
- The role of the participant. For example, is it a customer, agent, or system.
- See Also:
ParticipantRole
-
displayName
public final String displayName()
The display name of the participant.
- Returns:
- The display name of the participant.
-
content
public final String content()
The content of the transcript. Can be redacted.
- Returns:
- The content of the transcript. Can be redacted.
-
contentType
public final String contentType()
The type of content of the item. For example,
text/plain
.- Returns:
- The type of content of the item. For example,
text/plain
.
-
time
public final RealTimeContactAnalysisTimeData time()
Field describing the time of the event. It can have different representations of time.
- Returns:
- Field describing the time of the event. It can have different representations of time.
-
redaction
public final RealTimeContactAnalysisTranscriptItemRedaction redaction()
Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.
- Returns:
- Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.
-
sentiment
public final RealTimeContactAnalysisSentimentLabel sentiment()
The sentiment detected for this piece of transcript.
If the service returns an enum value that is not available in the current SDK version,
sentiment
will returnRealTimeContactAnalysisSentimentLabel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsentimentAsString()
.- Returns:
- The sentiment detected for this piece of transcript.
- See Also:
RealTimeContactAnalysisSentimentLabel
-
sentimentAsString
public final String sentimentAsString()
The sentiment detected for this piece of transcript.
If the service returns an enum value that is not available in the current SDK version,
sentiment
will returnRealTimeContactAnalysisSentimentLabel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsentimentAsString()
.- Returns:
- The sentiment detected for this piece of transcript.
- See Also:
RealTimeContactAnalysisSentimentLabel
-
toBuilder
public RealTimeContactAnalysisSegmentTranscript.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<RealTimeContactAnalysisSegmentTranscript.Builder,RealTimeContactAnalysisSegmentTranscript>
-
builder
public static RealTimeContactAnalysisSegmentTranscript.Builder builder()
-
serializableBuilderClass
public static Class<? extends RealTimeContactAnalysisSegmentTranscript.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-