Class SearchMetadataSchema

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

public final class SearchMetadataSchema extends Object
Schema metadata for search.
  • Constructor Details

    • SearchMetadataSchema

      public SearchMetadataSchema()
  • Method Details

    • name

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

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

      public Integer version()
      Get the version property: The version of the metadata schema.
      Returns:
      the version value.
    • withVersion

      public SearchMetadataSchema withVersion(Integer version)
      Set the version property: The version of the metadata schema.
      Parameters:
      version - the version value to set.
      Returns:
      the SearchMetadataSchema object itself.
    • validate

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