Class KpiGroupByMetadata

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

public final class KpiGroupByMetadata extends Object
The KPI GroupBy field metadata.
  • Constructor Details

    • KpiGroupByMetadata

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

    • displayName

      public Map<String,String> displayName()
      Get the displayName property: The display name.
      Returns:
      the displayName value.
    • withDisplayName

      public KpiGroupByMetadata withDisplayName(Map<String,String> displayName)
      Set the displayName property: The display name.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the KpiGroupByMetadata object itself.
    • fieldName

      public String fieldName()
      Get the fieldName property: The name of the field.
      Returns:
      the fieldName value.
    • withFieldName

      public KpiGroupByMetadata withFieldName(String fieldName)
      Set the fieldName property: The name of the field.
      Parameters:
      fieldName - the fieldName value to set.
      Returns:
      the KpiGroupByMetadata object itself.
    • fieldType

      public String fieldType()
      Get the fieldType property: The type of the field.
      Returns:
      the fieldType value.
    • withFieldType

      public KpiGroupByMetadata withFieldType(String fieldType)
      Set the fieldType property: The type of the field.
      Parameters:
      fieldType - the fieldType value to set.
      Returns:
      the KpiGroupByMetadata object itself.
    • validate

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