Class SearchSchemaValue

java.lang.Object
com.azure.resourcemanager.loganalytics.models.SearchSchemaValue

public final class SearchSchemaValue extends Object
Value object for schema results.
  • Constructor Details

    • SearchSchemaValue

      public SearchSchemaValue()
  • Method Details

    • name

      public String name()
      Get the name property: The name of the schema.
      Returns:
      the name value.
    • withName

      public SearchSchemaValue withName(String name)
      Set the name property: The name of the schema.
      Parameters:
      name - the name value to set.
      Returns:
      the SearchSchemaValue object itself.
    • displayName

      public String displayName()
      Get the displayName property: The display name of the schema.
      Returns:
      the displayName value.
    • withDisplayName

      public SearchSchemaValue withDisplayName(String displayName)
      Set the displayName property: The display name of the schema.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the SearchSchemaValue object itself.
    • type

      public String type()
      Get the type property: The type.
      Returns:
      the type value.
    • withType

      public SearchSchemaValue withType(String type)
      Set the type property: The type.
      Parameters:
      type - the type value to set.
      Returns:
      the SearchSchemaValue object itself.
    • indexed

      public boolean indexed()
      Get the indexed property: The boolean that indicates the field is searchable as free text.
      Returns:
      the indexed value.
    • withIndexed

      public SearchSchemaValue withIndexed(boolean indexed)
      Set the indexed property: The boolean that indicates the field is searchable as free text.
      Parameters:
      indexed - the indexed value to set.
      Returns:
      the SearchSchemaValue object itself.
    • stored

      public boolean stored()
      Get the stored property: The boolean that indicates whether or not the field is stored.
      Returns:
      the stored value.
    • withStored

      public SearchSchemaValue withStored(boolean stored)
      Set the stored property: The boolean that indicates whether or not the field is stored.
      Parameters:
      stored - the stored value to set.
      Returns:
      the SearchSchemaValue object itself.
    • facet

      public boolean facet()
      Get the facet property: The boolean that indicates whether or not the field is a facet.
      Returns:
      the facet value.
    • withFacet

      public SearchSchemaValue withFacet(boolean facet)
      Set the facet property: The boolean that indicates whether or not the field is a facet.
      Parameters:
      facet - the facet value to set.
      Returns:
      the SearchSchemaValue object itself.
    • ownerType

      public List<String> ownerType()
      Get the ownerType property: The array of workflows containing the field.
      Returns:
      the ownerType value.
    • withOwnerType

      public SearchSchemaValue withOwnerType(List<String> ownerType)
      Set the ownerType property: The array of workflows containing the field.
      Parameters:
      ownerType - the ownerType value to set.
      Returns:
      the SearchSchemaValue object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.