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 Details

    • LogAnalyticsQueryPackQuerySearchPropertiesRelated

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

    • categories

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

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

      public List<String> resourceTypes()
      Get the resourceTypes property: The related resource types for the function.
      Returns:
      the resourceTypes value.
    • 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

      public List<String> solutions()
      Get the solutions property: The related Log Analytics solutions for the function.
      Returns:
      the solutions value.
    • 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

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