StreamDeclaration Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. StreamDeclaration
- com.
Implements
public final class StreamDeclaration
implements JsonSerializable<StreamDeclaration>
Declaration of a custom stream.
Constructor Summary
Constructor | Description |
---|---|
StreamDeclaration() |
Creates an instance of Stream |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Column |
columns()
Get the columns property: List of columns used by data in this stream. |
static
Stream |
fromJson(JsonReader jsonReader)
Reads an instance of Stream |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Stream |
withColumns(List<ColumnDefinition> columns)
Set the columns property: List of columns used by data in this stream. |
Methods inherited from java.lang.Object
Constructor Details
StreamDeclaration
public StreamDeclaration()
Creates an instance of StreamDeclaration class.
Method Details
columns
public List
Get the columns property: List of columns used by data in this stream.
Returns:
fromJson
public static StreamDeclaration fromJson(JsonReader jsonReader)
Reads an instance of StreamDeclaration from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withColumns
public StreamDeclaration withColumns(List
Set the columns property: List of columns used by data in this stream.
Parameters:
Returns:
Applies to
Azure SDK for Java