Class TrackPropertyCondition

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

public final class TrackPropertyCondition extends Object
Class to specify one track property condition.
  • Constructor Details

    • TrackPropertyCondition

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

    • property

      public TrackPropertyType property()
      Get the property property: Track property type.
      Returns:
      the property value.
    • withProperty

      public TrackPropertyCondition withProperty(TrackPropertyType property)
      Set the property property: Track property type.
      Parameters:
      property - the property value to set.
      Returns:
      the TrackPropertyCondition object itself.
    • operation

      public TrackPropertyCompareOperation operation()
      Get the operation property: Track property condition operation.
      Returns:
      the operation value.
    • withOperation

      public TrackPropertyCondition withOperation(TrackPropertyCompareOperation operation)
      Set the operation property: Track property condition operation.
      Parameters:
      operation - the operation value to set.
      Returns:
      the TrackPropertyCondition object itself.
    • value

      public String value()
      Get the value property: Track property value.
      Returns:
      the value value.
    • withValue

      public TrackPropertyCondition withValue(String value)
      Set the value property: Track property value.
      Parameters:
      value - the value value to set.
      Returns:
      the TrackPropertyCondition object itself.
    • validate

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