Class StreamDeclaration

java.lang.Object
com.azure.resourcemanager.monitor.models.StreamDeclaration

public final class StreamDeclaration extends Object
Declaration of a custom stream.
  • Constructor Details

    • StreamDeclaration

      public StreamDeclaration()
      Creates an instance of StreamDeclaration class.
  • Method Details

    • columns

      public List<ColumnDefinition> columns()
      Get the columns property: List of columns used by data in this stream.
      Returns:
      the columns value.
    • withColumns

      public StreamDeclaration withColumns(List<ColumnDefinition> columns)
      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.