java.lang.Object
com.azure.resourcemanager.customerinsights.models.KpiAlias

public final class KpiAlias extends Object
The KPI alias.
  • Constructor Details

    • KpiAlias

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

    • aliasName

      public String aliasName()
      Get the aliasName property: KPI alias name.
      Returns:
      the aliasName value.
    • withAliasName

      public KpiAlias withAliasName(String aliasName)
      Set the aliasName property: KPI alias name.
      Parameters:
      aliasName - the aliasName value to set.
      Returns:
      the KpiAlias object itself.
    • expression

      public String expression()
      Get the expression property: The expression.
      Returns:
      the expression value.
    • withExpression

      public KpiAlias withExpression(String expression)
      Set the expression property: The expression.
      Parameters:
      expression - the expression value to set.
      Returns:
      the KpiAlias object itself.
    • validate

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