@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Defines an audio channel in a Kinesis video stream.
| Constructor and Description |
|---|
ChannelDefinition() |
| Modifier and Type | Method and Description |
|---|---|
ChannelDefinition |
clone() |
boolean |
equals(Object obj) |
Integer |
getChannelId()
The channel ID.
|
String |
getParticipantRole()
Specifies whether the audio in a channel belongs to the
AGENT or CUSTOMER. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChannelId(Integer channelId)
The channel ID.
|
void |
setParticipantRole(String participantRole)
Specifies whether the audio in a channel belongs to the
AGENT or CUSTOMER. |
String |
toString()
Returns a string representation of this object.
|
ChannelDefinition |
withChannelId(Integer channelId)
The channel ID.
|
ChannelDefinition |
withParticipantRole(ParticipantRole participantRole)
Specifies whether the audio in a channel belongs to the
AGENT or CUSTOMER. |
ChannelDefinition |
withParticipantRole(String participantRole)
Specifies whether the audio in a channel belongs to the
AGENT or CUSTOMER. |
public void setChannelId(Integer channelId)
The channel ID.
channelId - The channel ID.public Integer getChannelId()
The channel ID.
public ChannelDefinition withChannelId(Integer channelId)
The channel ID.
channelId - The channel ID.public void setParticipantRole(String participantRole)
Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.
participantRole - Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.ParticipantRolepublic String getParticipantRole()
Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.
AGENT or CUSTOMER.ParticipantRolepublic ChannelDefinition withParticipantRole(String participantRole)
Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.
participantRole - Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.ParticipantRolepublic ChannelDefinition withParticipantRole(ParticipantRole participantRole)
Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.
participantRole - Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.ParticipantRolepublic String toString()
toString in class ObjectObject.toString()public ChannelDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.