次の方法で共有


DataFlow Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.models.DataFlow

Implements

public final class DataFlow
implements JsonSerializable<DataFlow>

Definition of which streams are sent to which destinations.

Constructor Summary

Constructor Description
DataFlow()

Creates an instance of DataFlow class.

Method Summary

Modifier and Type Method and Description
List<String> destinations()

Get the destinations property: List of destinations for this data flow.

static DataFlow fromJson(JsonReader jsonReader)

Reads an instance of DataFlow from the JsonReader.

String outputStream()

Get the outputStream property: The output stream of the transform.

List<KnownDataFlowStreams> streams()

Get the streams property: List of streams for this data flow.

JsonWriter toJson(JsonWriter jsonWriter)
String transformKql()

Get the transformKql property: The KQL query to transform stream data.

void validate()

Validates the instance.

DataFlow withDestinations(List<String> destinations)

Set the destinations property: List of destinations for this data flow.

DataFlow withOutputStream(String outputStream)

Set the outputStream property: The output stream of the transform.

DataFlow withStreams(List<KnownDataFlowStreams> streams)

Set the streams property: List of streams for this data flow.

DataFlow withTransformKql(String transformKql)

Set the transformKql property: The KQL query to transform stream data.

Methods inherited from java.lang.Object

Constructor Details

DataFlow

public DataFlow()

Creates an instance of DataFlow class.

Method Details

destinations

public List<String> destinations()

Get the destinations property: List of destinations for this data flow.

Returns:

the destinations value.

fromJson

public static DataFlow fromJson(JsonReader jsonReader)

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.

outputStream

public String 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.

streams

public List<KnownDataFlowStreams> streams()

Get the streams property: List of streams for this data flow.

Returns:

the streams value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transformKql

public String transformKql()

Get the transformKql property: The KQL query to transform stream data.

Returns:

the transformKql value.

validate

public void validate()

Validates the instance.

withDestinations

public DataFlow withDestinations(List<String> destinations)

Set the destinations property: List of destinations for this data flow.

Parameters:

destinations - the destinations value to set.

Returns:

the DataFlow object itself.

withOutputStream

public DataFlow withOutputStream(String outputStream)

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.

withStreams

public DataFlow withStreams(List<KnownDataFlowStreams> streams)

Set the streams property: List of streams for this data flow.

Parameters:

streams - the streams value to set.

Returns:

the DataFlow object itself.

withTransformKql

public DataFlow withTransformKql(String transformKql)

Set the transformKql property: The KQL query to transform stream data.

Parameters:

transformKql - the transformKql value to set.

Returns:

the DataFlow object itself.

Applies to