Class TrackSelection

java.lang.Object
com.azure.resourcemanager.mediaservices.models.TrackSelection

public final class TrackSelection extends Object
Class to select a track.
  • Constructor Details

    • TrackSelection

      public TrackSelection()
      Creates an instance of TrackSelection class.
  • Method Details

    • trackSelections

      public List<TrackPropertyCondition> trackSelections()
      Get the trackSelections property: TrackSelections is a track property condition list which can specify track(s).
      Returns:
      the trackSelections value.
    • withTrackSelections

      public TrackSelection withTrackSelections(List<TrackPropertyCondition> trackSelections)
      Set the trackSelections property: TrackSelections is a track property condition list which can specify track(s).
      Parameters:
      trackSelections - the trackSelections value to set.
      Returns:
      the TrackSelection object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.