java.lang.Object
com.azure.resourcemanager.datafactory.models.DatasetStorageFormat
com.azure.resourcemanager.datafactory.models.AvroFormat

public final class AvroFormat extends DatasetStorageFormat
The data stored in Avro format.
  • Constructor Details

    • AvroFormat

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

    • withSerializer

      public AvroFormat withSerializer(Object serializer)
      Set the serializer property: Serializer. Type: string (or Expression with resultType string).
      Overrides:
      withSerializer in class DatasetStorageFormat
      Parameters:
      serializer - the serializer value to set.
      Returns:
      the DatasetStorageFormat object itself.
    • withDeserializer

      public AvroFormat withDeserializer(Object deserializer)
      Set the deserializer property: Deserializer. Type: string (or Expression with resultType string).
      Overrides:
      withDeserializer in class DatasetStorageFormat
      Parameters:
      deserializer - the deserializer value to set.
      Returns:
      the DatasetStorageFormat object itself.
    • validate

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