Class SchemaGroupProperties

java.lang.Object
com.azure.resourcemanager.eventhubs.fluent.models.SchemaGroupProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<SchemaGroupProperties>

public final class SchemaGroupProperties extends Object implements com.azure.json.JsonSerializable<SchemaGroupProperties>
The SchemaGroupProperties model.
  • Constructor Details

    • SchemaGroupProperties

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

    • updatedAtUtc

      public OffsetDateTime updatedAtUtc()
      Get the updatedAtUtc property: Exact time the Schema Group was updated.
      Returns:
      the updatedAtUtc value.
    • createdAtUtc

      public OffsetDateTime createdAtUtc()
      Get the createdAtUtc property: Exact time the Schema Group was created.
      Returns:
      the createdAtUtc value.
    • etag

      public UUID etag()
      Get the etag property: The ETag value.
      Returns:
      the etag value.
    • groupProperties

      public Map<String,String> groupProperties()
      Get the groupProperties property: dictionary object for SchemaGroup group properties.
      Returns:
      the groupProperties value.
    • withGroupProperties

      public SchemaGroupProperties withGroupProperties(Map<String,String> groupProperties)
      Set the groupProperties property: dictionary object for SchemaGroup group properties.
      Parameters:
      groupProperties - the groupProperties value to set.
      Returns:
      the SchemaGroupProperties object itself.
    • schemaCompatibility

      public SchemaCompatibility schemaCompatibility()
      Get the schemaCompatibility property: The schemaCompatibility property.
      Returns:
      the schemaCompatibility value.
    • withSchemaCompatibility

      public SchemaGroupProperties withSchemaCompatibility(SchemaCompatibility schemaCompatibility)
      Set the schemaCompatibility property: The schemaCompatibility property.
      Parameters:
      schemaCompatibility - the schemaCompatibility value to set.
      Returns:
      the SchemaGroupProperties object itself.
    • schemaType

      public SchemaType schemaType()
      Get the schemaType property: The schemaType property.
      Returns:
      the schemaType value.
    • withSchemaType

      public SchemaGroupProperties withSchemaType(SchemaType schemaType)
      Set the schemaType property: The schemaType property.
      Parameters:
      schemaType - the schemaType value to set.
      Returns:
      the SchemaGroupProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SchemaGroupProperties>
      Throws:
      IOException
    • fromJson

      public static SchemaGroupProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SchemaGroupProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SchemaGroupProperties 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 SchemaGroupProperties.