Class AvroFormat
java.lang.Object
com.azure.resourcemanager.datafactory.models.DatasetStorageFormat
com.azure.resourcemanager.datafactory.models.AvroFormat
The data stored in Avro format.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.withDeserializer(Object deserializer) Set the deserializer property: Deserializer.withSerializer(Object serializer) Set the serializer property: Serializer.Methods inherited from class com.azure.resourcemanager.datafactory.models.DatasetStorageFormat
additionalProperties, deserializer, serializer, withAdditionalProperties
-
Constructor Details
-
AvroFormat
public AvroFormat()Creates an instance of AvroFormat class.
-
-
Method Details
-
withSerializer
Set the serializer property: Serializer. Type: string (or Expression with resultType string).- Overrides:
withSerializerin classDatasetStorageFormat- Parameters:
serializer- the serializer value to set.- Returns:
- the DatasetStorageFormat object itself.
-
withDeserializer
Set the deserializer property: Deserializer. Type: string (or Expression with resultType string).- Overrides:
withDeserializerin classDatasetStorageFormat- Parameters:
deserializer- the deserializer value to set.- Returns:
- the DatasetStorageFormat object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classDatasetStorageFormat- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-