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 Details

    • LogAnalyticsQueryPackQueryPropertiesRelated

      public LogAnalyticsQueryPackQueryPropertiesRelated()
      Creates an instance of LogAnalyticsQueryPackQueryPropertiesRelated class.
  • Method Details

    • categories

      public List<String> categories()
      Get the categories property: The related categories for the function.
      Returns:
      the categories value.
    • withCategories

      public LogAnalyticsQueryPackQueryPropertiesRelated withCategories(List<String> categories)
      Set the categories property: The related categories for the function.
      Parameters:
      categories - the categories value to set.
      Returns:
      the LogAnalyticsQueryPackQueryPropertiesRelated object itself.
    • resourceTypes

      public List<String> resourceTypes()
      Get the resourceTypes property: The related resource types for the function.
      Returns:
      the resourceTypes value.
    • withResourceTypes

      public LogAnalyticsQueryPackQueryPropertiesRelated withResourceTypes(List<String> resourceTypes)
      Set the resourceTypes property: The related resource types for the function.
      Parameters:
      resourceTypes - the resourceTypes value to set.
      Returns:
      the LogAnalyticsQueryPackQueryPropertiesRelated object itself.
    • solutions

      public List<String> solutions()
      Get the solutions property: The related Log Analytics solutions for the function.
      Returns:
      the solutions value.
    • withSolutions

      public LogAnalyticsQueryPackQueryPropertiesRelated withSolutions(List<String> solutions)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.