Class SchemaGroupInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.eventhubs.fluent.models.SchemaGroupInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class SchemaGroupInner extends com.azure.core.management.ProxyResource
Single item in List or Get Schema Group operation.
  • Constructor Details

    • SchemaGroupInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system meta data relating to this resource.
      Returns:
      the systemData value.
    • location

      public String location()
      Get the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • 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 SchemaGroupInner withGroupProperties(Map<String,String> groupProperties)
      Set the groupProperties property: dictionary object for SchemaGroup group properties.
      Parameters:
      groupProperties - the groupProperties value to set.
      Returns:
      the SchemaGroupInner object itself.
    • schemaCompatibility

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

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

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

      public SchemaGroupInner withSchemaType(SchemaType schemaType)
      Set the schemaType property: The schemaType property.
      Parameters:
      schemaType - the schemaType value to set.
      Returns:
      the SchemaGroupInner 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<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.ProxyResource
      Throws:
      IOException
    • fromJson

      public static SchemaGroupInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SchemaGroupInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SchemaGroupInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the SchemaGroupInner.