Class TrackPropertyCondition
java.lang.Object
com.azure.resourcemanager.mediaservices.models.TrackPropertyCondition
Class to specify one track property condition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of TrackPropertyCondition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the operation property: Track property condition operation.property()
Get the property property: Track property type.void
validate()
Validates the instance.value()
Get the value property: Track property value.withOperation
(TrackPropertyCompareOperation operation) Set the operation property: Track property condition operation.withProperty
(TrackPropertyType property) Set the property property: Track property type.Set the value property: Track property value.
-
Constructor Details
-
TrackPropertyCondition
public TrackPropertyCondition()Creates an instance of TrackPropertyCondition class.
-
-
Method Details
-
property
Get the property property: Track property type.- Returns:
- the property value.
-
withProperty
Set the property property: Track property type.- Parameters:
property
- the property value to set.- Returns:
- the TrackPropertyCondition object itself.
-
operation
Get the operation property: Track property condition operation.- Returns:
- the operation value.
-
withOperation
Set the operation property: Track property condition operation.- Parameters:
operation
- the operation value to set.- Returns:
- the TrackPropertyCondition object itself.
-
value
Get the value property: Track property value.- Returns:
- the value value.
-
withValue
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.
-