### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.OrderBy"
fullName: "com.azure.resourcemanager.network.models.OrderBy"
name: "OrderBy"
nameWithType: "OrderBy"
summary: "Describes a column to sort."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **OrderBy** implements <>"
constructors:
- uid: "com.azure.resourcemanager.network.models.OrderBy.OrderBy()"
fullName: "com.azure.resourcemanager.network.models.OrderBy.OrderBy()"
name: "OrderBy()"
nameWithType: "OrderBy.OrderBy()"
summary: "Creates an instance of OrderBy class."
syntax: "public OrderBy()"
desc: "Creates an instance of OrderBy class."
methods:
- uid: "com.azure.resourcemanager.network.models.OrderBy.field()"
fullName: "com.azure.resourcemanager.network.models.OrderBy.field()"
name: "field()"
nameWithType: "OrderBy.field()"
summary: "Get the field property: Describes the actual column name to sort by."
syntax: "public String field()"
desc: "Get the field property: Describes the actual column name to sort by."
returns:
description: "the field value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.OrderBy.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.OrderBy.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "OrderBy.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of OrderBy from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static OrderBy fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the OrderBy."
type: "IOException"
desc: "Reads an instance of OrderBy from the JsonReader."
returns:
description: "An instance of OrderBy if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: ""
- uid: "com.azure.resourcemanager.network.models.OrderBy.order()"
fullName: "com.azure.resourcemanager.network.models.OrderBy.order()"
name: "order()"
nameWithType: "OrderBy.order()"
summary: "Get the order property: Describes if results should be in ascending/descending order."
syntax: "public FirewallPolicyIdpsQuerySortOrder order()"
desc: "Get the order property: Describes if results should be in ascending/descending order."
returns:
description: "the order value."
type: ""
- uid: "com.azure.resourcemanager.network.models.OrderBy.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.OrderBy.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "OrderBy.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.network.models.OrderBy.validate()"
fullName: "com.azure.resourcemanager.network.models.OrderBy.validate()"
name: "validate()"
nameWithType: "OrderBy.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.OrderBy.withField(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.OrderBy.withField(String field)"
name: "withField(String field)"
nameWithType: "OrderBy.withField(String field)"
summary: "Set the field property: Describes the actual column name to sort by."
parameters:
- description: "the field value to set."
name: "field"
type: "String"
syntax: "public OrderBy withField(String field)"
desc: "Set the field property: Describes the actual column name to sort by."
returns:
description: "the OrderBy object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.OrderBy.withOrder(com.azure.resourcemanager.network.models.FirewallPolicyIdpsQuerySortOrder)"
fullName: "com.azure.resourcemanager.network.models.OrderBy.withOrder(FirewallPolicyIdpsQuerySortOrder order)"
name: "withOrder(FirewallPolicyIdpsQuerySortOrder order)"
nameWithType: "OrderBy.withOrder(FirewallPolicyIdpsQuerySortOrder order)"
summary: "Set the order property: Describes if results should be in ascending/descending order."
parameters:
- description: "the order value to set."
name: "order"
type: ""
syntax: "public OrderBy withOrder(FirewallPolicyIdpsQuerySortOrder order)"
desc: "Set the order property: Describes if results should be in ascending/descending order."
returns:
description: "the OrderBy object itself."
type: ""
type: "class"
desc: "Describes a column to sort."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0