### YamlMime:JavaType uid: "com.azure.resourcemanager.resourcegraph.models.Facet" fullName: "com.azure.resourcemanager.resourcegraph.models.Facet" name: "Facet" nameWithType: "Facet" summary: "A facet containing additional statistics on the response of a query." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public class **Facet**" constructors: - uid: "com.azure.resourcemanager.resourcegraph.models.Facet.Facet()" fullName: "com.azure.resourcemanager.resourcegraph.models.Facet.Facet()" name: "Facet()" nameWithType: "Facet.Facet()" summary: "Creates an instance of Facet class." syntax: "public Facet()" desc: "Creates an instance of Facet class." methods: - uid: "com.azure.resourcemanager.resourcegraph.models.Facet.expression()" fullName: "com.azure.resourcemanager.resourcegraph.models.Facet.expression()" name: "expression()" nameWithType: "Facet.expression()" summary: "Get the expression property: Facet expression, same as in the corresponding facet request." syntax: "public String expression()" desc: "Get the expression property: Facet expression, same as in the corresponding facet request." returns: description: "the expression value." type: "String" - uid: "com.azure.resourcemanager.resourcegraph.models.Facet.validate()" fullName: "com.azure.resourcemanager.resourcegraph.models.Facet.validate()" name: "validate()" nameWithType: "Facet.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.resourcegraph.models.Facet.withExpression(java.lang.String)" fullName: "com.azure.resourcemanager.resourcegraph.models.Facet.withExpression(String expression)" name: "withExpression(String expression)" nameWithType: "Facet.withExpression(String expression)" summary: "Set the expression property: Facet expression, same as in the corresponding facet request." parameters: - description: "the expression value to set." name: "expression" type: "String" syntax: "public Facet withExpression(String expression)" desc: "Set the expression property: Facet expression, same as in the corresponding facet request." returns: description: "the Facet object itself." type: "" type: "class" desc: "A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError." metadata: {} package: "com.azure.resourcemanager.resourcegraph.models" artifact: com.azure.resourcemanager:azure-resourcemanager-resourcegraph:1.0.0