Class LogAnalyticsQueryPackQuerySearchPropertiesRelated
java.lang.Object
com.azure.resourcemanager.loganalytics.models.LogAnalyticsQueryPackQuerySearchPropertiesRelated
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LogAnalyticsQueryPackQuerySearchPropertiesRelated>
public final class LogAnalyticsQueryPackQuerySearchPropertiesRelated
extends Object
implements com.azure.json.JsonSerializable<LogAnalyticsQueryPackQuerySearchPropertiesRelated>
The related metadata items for the function.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LogAnalyticsQueryPackQuerySearchPropertiesRelated class. -
Method Summary
Modifier and TypeMethodDescriptionGet the categories property: The related categories for the function.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LogAnalyticsQueryPackQuerySearchPropertiesRelated from the JsonReader.Get the resourceTypes property: The related resource types for the function.Get the solutions property: The related Log Analytics solutions for the function.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withCategories(List<String> categories) Set the categories property: The related categories for the function.withResourceTypes(List<String> resourceTypes) Set the resourceTypes property: The related resource types for the function.withSolutions(List<String> solutions) Set the solutions property: The related Log Analytics solutions for the function.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
LogAnalyticsQueryPackQuerySearchPropertiesRelated
public LogAnalyticsQueryPackQuerySearchPropertiesRelated()Creates an instance of LogAnalyticsQueryPackQuerySearchPropertiesRelated class.
-
-
Method Details
-
categories
-
withCategories
Set the categories property: The related categories for the function.- Parameters:
categories- the categories value to set.- Returns:
- the LogAnalyticsQueryPackQuerySearchPropertiesRelated object itself.
-
resourceTypes
-
withResourceTypes
public LogAnalyticsQueryPackQuerySearchPropertiesRelated withResourceTypes(List<String> resourceTypes) Set the resourceTypes property: The related resource types for the function.- Parameters:
resourceTypes- the resourceTypes value to set.- Returns:
- the LogAnalyticsQueryPackQuerySearchPropertiesRelated object itself.
-
solutions
-
withSolutions
Set the solutions property: The related Log Analytics solutions for the function.- Parameters:
solutions- the solutions value to set.- Returns:
- the LogAnalyticsQueryPackQuerySearchPropertiesRelated object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LogAnalyticsQueryPackQuerySearchPropertiesRelated>- Throws:
IOException
-
fromJson
public static LogAnalyticsQueryPackQuerySearchPropertiesRelated fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of LogAnalyticsQueryPackQuerySearchPropertiesRelated from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LogAnalyticsQueryPackQuerySearchPropertiesRelated if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the LogAnalyticsQueryPackQuerySearchPropertiesRelated.
-