Class AvroFormat
- 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 Summary
Constructors Constructor Description AvroFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AvroFormat
withDeserializer(Object deserializer)
Set the deserializer property: Deserializer.AvroFormat
withSerializer(Object serializer)
Set the serializer property: Serializer.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.DatasetStorageFormat
additionalProperties, deserializer, serializer, withAdditionalProperties
-
-
-
-
Method Detail
-
withSerializer
public AvroFormat withSerializer(Object serializer)
Set the serializer property: Serializer. Type: string (or Expression with resultType string).- Overrides:
withSerializer
in classDatasetStorageFormat
- 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 classDatasetStorageFormat
- Parameters:
deserializer
- the deserializer value to set.- Returns:
- the DatasetStorageFormat object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDatasetStorageFormat
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-