Class DataFlow
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.DataFlow
-
public final class DataFlow extends Object
Definition of which streams are sent to which destinations.
-
-
Constructor Summary
Constructors Constructor Description DataFlow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>destinations()Get the destinations property: List of destinations for this data flow.List<KnownDataFlowStreams>streams()Get the streams property: List of streams for this data flow.voidvalidate()Validates the instance.DataFlowwithDestinations(List<String> destinations)Set the destinations property: List of destinations for this data flow.DataFlowwithStreams(List<KnownDataFlowStreams> streams)Set the streams property: List of streams for this data flow.
-
-
-
Method Detail
-
streams
public List<KnownDataFlowStreams> streams()
Get the streams property: List of streams for this data flow.- Returns:
- the streams value.
-
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.
-
destinations
public List<String> destinations()
Get the destinations property: List of destinations for this data flow.- Returns:
- the destinations value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-