Class LogAnalyticsQueryPackQueryPropertiesRelated
java.lang.Object
com.azure.resourcemanager.loganalytics.models.LogAnalyticsQueryPackQueryPropertiesRelated
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LogAnalyticsQueryPackQueryPropertiesRelated>
public final class LogAnalyticsQueryPackQueryPropertiesRelated
extends Object
implements com.azure.json.JsonSerializable<LogAnalyticsQueryPackQueryPropertiesRelated>
The related metadata items for the function.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LogAnalyticsQueryPackQueryPropertiesRelated 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 LogAnalyticsQueryPackQueryPropertiesRelated 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
-
LogAnalyticsQueryPackQueryPropertiesRelated
public LogAnalyticsQueryPackQueryPropertiesRelated()Creates an instance of LogAnalyticsQueryPackQueryPropertiesRelated class.
-
-
Method Details
-
categories
-
withCategories
Set the categories property: The related categories for the function.- Parameters:
categories- the categories value to set.- Returns:
- the LogAnalyticsQueryPackQueryPropertiesRelated object itself.
-
resourceTypes
-
withResourceTypes
Set the resourceTypes property: The related resource types for the function.- Parameters:
resourceTypes- the resourceTypes value to set.- Returns:
- the LogAnalyticsQueryPackQueryPropertiesRelated 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 LogAnalyticsQueryPackQueryPropertiesRelated object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LogAnalyticsQueryPackQueryPropertiesRelated>- Throws:
IOException
-
fromJson
public static LogAnalyticsQueryPackQueryPropertiesRelated fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of LogAnalyticsQueryPackQueryPropertiesRelated from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LogAnalyticsQueryPackQueryPropertiesRelated 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 LogAnalyticsQueryPackQueryPropertiesRelated.
-