Class SelectVideoTrackByAttribute
java.lang.Object
com.azure.resourcemanager.mediaservices.models.TrackDescriptor
com.azure.resourcemanager.mediaservices.models.VideoTrackDescriptor
com.azure.resourcemanager.mediaservices.models.SelectVideoTrackByAttribute
Select video tracks from the input by specifying an attribute and an attribute filter.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SelectVideoTrackByAttribute 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.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.
-
Constructor Details
-
SelectVideoTrackByAttribute
public SelectVideoTrackByAttribute()Creates an instance of SelectVideoTrackByAttribute 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 SelectVideoTrackByAttribute 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 SelectVideoTrackByAttribute 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. For TrackAttribute.Bitrate, this should be an integer value in bits per second (e.g: '1500000'). The TrackAttribute.Language is not supported for video tracks.- 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. For TrackAttribute.Bitrate, this should be an integer value in bits per second (e.g: '1500000'). The TrackAttribute.Language is not supported for video tracks.- Parameters:
filterValue
- the filterValue value to set.- Returns:
- the SelectVideoTrackByAttribute object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classVideoTrackDescriptor
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-