Class SchemaProperties

java.lang.Object
com.azure.data.schemaregistry.models.SchemaProperties

public final class SchemaProperties extends Object
Stores properties of a schema stored in Schema Registry.
See Also:
  • Constructor Details

    • SchemaProperties

      public SchemaProperties(String id, SchemaFormat format)
      Initializes a new instance.
      Parameters:
      id - The schema id.
      format - The type of schema, e.g. avro, json.
  • Method Details

    • getId

      public String getId()
      Returns the unique identifier for this schema.
      Returns:
      the unique identifier for this schema.
    • getFormat

      public SchemaFormat getFormat()
      The schema format of this schema.
      Returns:
      schema type associated with the schema payload
    • getGroupName

      public String getGroupName()
      Gets the schema group of this schema.
      Returns:
      The schema group of this schema.
    • getName

      public String getName()
      Gets the name of the schema.
      Returns:
      The name of the schema.