@Generated(value="software.amazon.awssdk:codegen") public final class ChannelDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelDefinition.Builder,ChannelDefinition>
Defines an audio channel in a Kinesis video stream.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChannelDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChannelDefinition.Builder |
builder() |
Integer |
channelId()
The channel ID.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ParticipantRole |
participantRole()
Specifies whether the audio in a channel belongs to the
AGENT or CUSTOMER. |
String |
participantRoleAsString()
Specifies whether the audio in a channel belongs to the
AGENT or CUSTOMER. |
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()
The channel ID.
public final ParticipantRole participantRole()
Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.
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().
AGENT or CUSTOMER.ParticipantRolepublic final String participantRoleAsString()
Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.
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().
AGENT or CUSTOMER.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 © 2023. All rights reserved.