Class ChannelDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.transcribe.model.ChannelDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChannelDefinition.Builder,ChannelDefinition>
@Generated("software.amazon.awssdk:codegen") public final class ChannelDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelDefinition.Builder,ChannelDefinition>
Makes it possible to specify which speaker is on which channel. For example, if your agent is the first participant to speak, you would set
ChannelIdto0(to indicate the first channel) andParticipantRoletoAGENT(to indicate that it's the agent speaking).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChannelDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelDefinition.Builderbuilder()IntegerchannelId()Specify the audio channel you want to define.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ParticipantRoleparticipantRole()Specify the speaker you want to define.StringparticipantRoleAsString()Specify the speaker you want to define.List<SdkField<?>>sdkFields()static Class<? extends ChannelDefinition.Builder>serializableBuilderClass()ChannelDefinition.BuildertoBuilder()StringtoString()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
-
channelId
public final Integer channelId()
Specify the audio channel you want to define.
- Returns:
- Specify the audio channel you want to define.
-
participantRole
public final ParticipantRole participantRole()
Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.
If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.
- See Also:
ParticipantRole
-
participantRoleAsString
public final String participantRoleAsString()
Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.
If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.
- See Also:
ParticipantRole
-
toBuilder
public ChannelDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChannelDefinition.Builder,ChannelDefinition>
-
builder
public static ChannelDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChannelDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-