@Generated(value="software.amazon.awssdk:codegen") public final class ChannelDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelDefinition.Builder,ChannelDefinition>
Allows you to specify which speaker is on which channel. For example, if your agent is the first participant to
speak, you would set ChannelId to 0 (to indicate the first channel) and
ParticipantRole to AGENT (to indicate that it's the agent speaking).
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChannelDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChannelDefinition.Builder |
builder() |
Integer |
channelId()
Specify the audio channel you want to define.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ParticipantRole |
participantRole()
Specify the speaker you want to define.
|
String |
participantRoleAsString()
Specify the speaker you want to define.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChannelDefinition.Builder> |
serializableBuilderClass() |
ChannelDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer channelId()
Specify the audio channel you want to define.
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, participantRole
will return ParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from participantRoleAsString().
ParticipantRolepublic 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, participantRole
will return ParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from participantRoleAsString().
ParticipantRolepublic ChannelDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChannelDefinition.Builder,ChannelDefinition>public static ChannelDefinition.Builder builder()
public static Class<? extends ChannelDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.