Class AvroSerialization
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.Serialization
-
- com.azure.resourcemanager.streamanalytics.models.AvroSerialization
-
public final class AvroSerialization extends Serialization
Describes how data from an input is serialized or how data is serialized when written to an output in Avro format.
-
-
Constructor Summary
Constructors Constructor Description AvroSerialization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
properties()
Get the properties property: The properties that are associated with the Avro serialization type.void
validate()
Validates the instance.AvroSerialization
withProperties(Object properties)
Set the properties property: The properties that are associated with the Avro serialization type.
-
-
-
Method Detail
-
properties
public Object properties()
Get the properties property: The properties that are associated with the Avro serialization type. Required on PUT (CreateOrReplace) requests.- Returns:
- the properties value.
-
withProperties
public AvroSerialization withProperties(Object properties)
Set the properties property: The properties that are associated with the Avro serialization type. Required on PUT (CreateOrReplace) requests.- Parameters:
properties
- the properties value to set.- Returns:
- the AvroSerialization object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classSerialization
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-