Class RunQueryOrderBy
java.lang.Object
com.azure.resourcemanager.datafactory.models.RunQueryOrderBy
An object to provide order by options for listing runs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorder()Get the order property: Sorting order of the parameter.orderBy()Get the orderBy property: Parameter name to be used for order by.voidvalidate()Validates the instance.withOrder(RunQueryOrder order) Set the order property: Sorting order of the parameter.withOrderBy(RunQueryOrderByField orderBy) Set the orderBy property: Parameter name to be used for order by.
-
Constructor Details
-
RunQueryOrderBy
public RunQueryOrderBy()Creates an instance of RunQueryOrderBy class.
-
-
Method Details
-
orderBy
Get the orderBy property: Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, TriggerRunTimestamp and Status.- Returns:
- the orderBy value.
-
withOrderBy
Set the orderBy property: Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are PipelineName, RunStart, RunEnd and Status; for activity runs are ActivityName, ActivityRunStart, ActivityRunEnd and Status; for trigger runs are TriggerName, TriggerRunTimestamp and Status.- Parameters:
orderBy- the orderBy value to set.- Returns:
- the RunQueryOrderBy object itself.
-
order
Get the order property: Sorting order of the parameter.- Returns:
- the order value.
-
withOrder
Set the order property: Sorting order of the parameter.- Parameters:
order- the order value to set.- Returns:
- the RunQueryOrderBy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-