@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelDefinition extends Object implements Serializable, Cloneable, StructuredPojo
For a call analytics job, an object that indicates the audio channel that belongs to the agent and the audio channel that belongs to the customer.
Constructor and Description |
---|
ChannelDefinition() |
Modifier and Type | Method and Description |
---|---|
ChannelDefinition |
clone() |
boolean |
equals(Object obj) |
Integer |
getChannelId()
A value that indicates the audio channel.
|
String |
getParticipantRole()
Indicates whether the person speaking on the audio channel is the agent or customer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelId(Integer channelId)
A value that indicates the audio channel.
|
void |
setParticipantRole(String participantRole)
Indicates whether the person speaking on the audio channel is the agent or customer.
|
String |
toString()
Returns a string representation of this object.
|
ChannelDefinition |
withChannelId(Integer channelId)
A value that indicates the audio channel.
|
ChannelDefinition |
withParticipantRole(ParticipantRole participantRole)
Indicates whether the person speaking on the audio channel is the agent or customer.
|
ChannelDefinition |
withParticipantRole(String participantRole)
Indicates whether the person speaking on the audio channel is the agent or customer.
|
public void setChannelId(Integer channelId)
A value that indicates the audio channel.
channelId
- A value that indicates the audio channel.public Integer getChannelId()
A value that indicates the audio channel.
public ChannelDefinition withChannelId(Integer channelId)
A value that indicates the audio channel.
channelId
- A value that indicates the audio channel.public void setParticipantRole(String participantRole)
Indicates whether the person speaking on the audio channel is the agent or customer.
participantRole
- Indicates whether the person speaking on the audio channel is the agent or customer.ParticipantRole
public String getParticipantRole()
Indicates whether the person speaking on the audio channel is the agent or customer.
ParticipantRole
public ChannelDefinition withParticipantRole(String participantRole)
Indicates whether the person speaking on the audio channel is the agent or customer.
participantRole
- Indicates whether the person speaking on the audio channel is the agent or customer.ParticipantRole
public ChannelDefinition withParticipantRole(ParticipantRole participantRole)
Indicates whether the person speaking on the audio channel is the agent or customer.
participantRole
- Indicates whether the person speaking on the audio channel is the agent or customer.ParticipantRole
public String toString()
toString
in class Object
Object.toString()
public ChannelDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.