Class ChannelDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmediapipelines.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>
Defines an audio channel in a Kinesis video stream.
- 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()The channel ID.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ParticipantRoleparticipantRole()Specifies whether the audio in a channel belongs to theAGENTorCUSTOMER.StringparticipantRoleAsString()Specifies whether the audio in a channel belongs to theAGENTorCUSTOMER.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()
The channel ID.
- Returns:
- The channel ID.
-
participantRole
public final ParticipantRole participantRole()
Specifies whether the audio in a channel belongs to the
AGENTorCUSTOMER.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:
- Specifies whether the audio in a channel belongs to the
AGENTorCUSTOMER. - See Also:
ParticipantRole
-
participantRoleAsString
public final String participantRoleAsString()
Specifies whether the audio in a channel belongs to the
AGENTorCUSTOMER.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:
- Specifies whether the audio in a channel belongs to the
AGENTorCUSTOMER. - 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.
-
-