Class SelectAudioTrackByAttribute
java.lang.Object
com.azure.resourcemanager.mediaservices.models.TrackDescriptor
com.azure.resourcemanager.mediaservices.models.AudioTrackDescriptor
com.azure.resourcemanager.mediaservices.models.SelectAudioTrackByAttribute
Select audio tracks from the input by specifying an attribute and an attribute filter.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SelectAudioTrackByAttribute class. -
Method Summary
Modifier and TypeMethodDescriptionGet the attribute property: The TrackAttribute to filter the tracks by.filter()
Get the filter property: The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks.Get the filterValue property: The value to filter the tracks by.void
validate()
Validates the instance.withAttribute
(TrackAttribute attribute) Set the attribute property: The TrackAttribute to filter the tracks by.withChannelMapping
(ChannelMapping channelMapping) Set the channelMapping property: Optional designation for single channel audio tracks.withFilter
(AttributeFilter filter) Set the filter property: The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks.withFilterValue
(String filterValue) Set the filterValue property: The value to filter the tracks by.Methods inherited from class com.azure.resourcemanager.mediaservices.models.AudioTrackDescriptor
channelMapping
-
Constructor Details
-
SelectAudioTrackByAttribute
public SelectAudioTrackByAttribute()Creates an instance of SelectAudioTrackByAttribute class.
-
-
Method Details
-
attribute
Get the attribute property: The TrackAttribute to filter the tracks by.- Returns:
- the attribute value.
-
withAttribute
Set the attribute property: The TrackAttribute to filter the tracks by.- Parameters:
attribute
- the attribute value to set.- Returns:
- the SelectAudioTrackByAttribute object itself.
-
filter
Get the filter property: The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks.- Returns:
- the filter value.
-
withFilter
Set the filter property: The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks.- Parameters:
filter
- the filter value to set.- Returns:
- the SelectAudioTrackByAttribute object itself.
-
filterValue
Get the filterValue property: The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property.- Returns:
- the filterValue value.
-
withFilterValue
Set the filterValue property: The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified for the Filter property.- Parameters:
filterValue
- the filterValue value to set.- Returns:
- the SelectAudioTrackByAttribute object itself.
-
withChannelMapping
Set the channelMapping property: Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks.- Overrides:
withChannelMapping
in classAudioTrackDescriptor
- Parameters:
channelMapping
- the channelMapping value to set.- Returns:
- the AudioTrackDescriptor object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAudioTrackDescriptor
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-