Class ColumnDefinition
java.lang.Object
com.azure.resourcemanager.monitor.models.ColumnDefinition
Definition of custom data column.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ColumnDefinition
public ColumnDefinition()Creates an instance of ColumnDefinition class.
-
-
Method Details
-
name
Get the name property: The name of the column.- Returns:
- the name value.
-
withName
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.
-