Class StreamDeclaration
java.lang.Object
com.azure.resourcemanager.monitor.models.StreamDeclaration
Declaration of a custom stream.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Get the columns property: List of columns used by data in this stream.voidvalidate()Validates the instance.withColumns(List<ColumnDefinition> columns) Set the columns property: List of columns used by data in this stream.
-
Constructor Details
-
StreamDeclaration
public StreamDeclaration()Creates an instance of StreamDeclaration class.
-
-
Method Details
-
columns
Get the columns property: List of columns used by data in this stream.- Returns:
- the columns value.
-
withColumns
Set the columns property: List of columns used by data in this stream.- Parameters:
columns- the columns value to set.- Returns:
- the StreamDeclaration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-