Class DataFlow
java.lang.Object
com.azure.resourcemanager.monitor.models.DataFlow
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DataFlow>
Definition of which streams are sent to which destinations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the destinations property: List of destinations for this data flow.static DataFlowfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DataFlow from the JsonReader.Get the outputStream property: The output stream of the transform.streams()Get the streams property: List of streams for this data flow.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the transformKql property: The KQL query to transform stream data.voidvalidate()Validates the instance.withDestinations(List<String> destinations) Set the destinations property: List of destinations for this data flow.withOutputStream(String outputStream) Set the outputStream property: The output stream of the transform.withStreams(List<KnownDataFlowStreams> streams) Set the streams property: List of streams for this data flow.withTransformKql(String transformKql) Set the transformKql property: The KQL query to transform stream data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DataFlow
public DataFlow()Creates an instance of DataFlow class.
-
-
Method Details
-
streams
Get the streams property: List of streams for this data flow.- Returns:
- the streams value.
-
withStreams
Set the streams property: List of streams for this data flow.- Parameters:
streams- the streams value to set.- Returns:
- the DataFlow object itself.
-
destinations
Get the destinations property: List of destinations for this data flow.- Returns:
- the destinations value.
-
withDestinations
Set the destinations property: List of destinations for this data flow.- Parameters:
destinations- the destinations value to set.- Returns:
- the DataFlow object itself.
-
transformKql
Get the transformKql property: The KQL query to transform stream data.- Returns:
- the transformKql value.
-
withTransformKql
Set the transformKql property: The KQL query to transform stream data.- Parameters:
transformKql- the transformKql value to set.- Returns:
- the DataFlow object itself.
-
outputStream
Get the outputStream property: The output stream of the transform. Only required if the transform changes data to a different stream.- Returns:
- the outputStream value.
-
withOutputStream
Set the outputStream property: The output stream of the transform. Only required if the transform changes data to a different stream.- Parameters:
outputStream- the outputStream value to set.- Returns:
- the DataFlow object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DataFlow>- Throws:
IOException
-
fromJson
Reads an instance of DataFlow from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DataFlow if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the DataFlow.
-