Class ColumnDefinition

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

public final class ColumnDefinition extends Object
Definition of custom data column.
  • Constructor Details

    • ColumnDefinition

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

    • name

      public String name()
      Get the name property: The name of the column.
      Returns:
      the name value.
    • withName

      public ColumnDefinition withName(String name)
      Set the name property: The name of the column.
      Parameters:
      name - the name value to set.
      Returns:
      the ColumnDefinition object itself.
    • type

      Get the type property: The type of the column data.
      Returns:
      the type value.
    • withType

      Set the type property: The type of the column data.
      Parameters:
      type - the type value to set.
      Returns:
      the ColumnDefinition object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.