Class KpiResourceFormatInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.customerinsights.fluent.models.KpiResourceFormatInner

public final class KpiResourceFormatInner extends com.azure.core.management.ProxyResource
The KPI resource format.
  • Constructor Details

    • KpiResourceFormatInner

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

    • entityType

      public EntityTypes entityType()
      Get the entityType property: The mapping entity type.
      Returns:
      the entityType value.
    • withEntityType

      public KpiResourceFormatInner withEntityType(EntityTypes entityType)
      Set the entityType property: The mapping entity type.
      Parameters:
      entityType - the entityType value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • entityTypeName

      public String entityTypeName()
      Get the entityTypeName property: The mapping entity name.
      Returns:
      the entityTypeName value.
    • withEntityTypeName

      public KpiResourceFormatInner withEntityTypeName(String entityTypeName)
      Set the entityTypeName property: The mapping entity name.
      Parameters:
      entityTypeName - the entityTypeName value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • tenantId

      public String tenantId()
      Get the tenantId property: The hub name.
      Returns:
      the tenantId value.
    • kpiName

      public String kpiName()
      Get the kpiName property: The KPI name.
      Returns:
      the kpiName value.
    • displayName

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

      public KpiResourceFormatInner withDisplayName(Map<String,String> displayName)
      Set the displayName property: Localized display name for the KPI.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • description

      public Map<String,String> description()
      Get the description property: Localized description for the KPI.
      Returns:
      the description value.
    • withDescription

      public KpiResourceFormatInner withDescription(Map<String,String> description)
      Set the description property: Localized description for the KPI.
      Parameters:
      description - the description value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • calculationWindow

      public CalculationWindowTypes calculationWindow()
      Get the calculationWindow property: The calculation window.
      Returns:
      the calculationWindow value.
    • withCalculationWindow

      public KpiResourceFormatInner withCalculationWindow(CalculationWindowTypes calculationWindow)
      Set the calculationWindow property: The calculation window.
      Parameters:
      calculationWindow - the calculationWindow value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • calculationWindowFieldName

      public String calculationWindowFieldName()
      Get the calculationWindowFieldName property: Name of calculation window field.
      Returns:
      the calculationWindowFieldName value.
    • withCalculationWindowFieldName

      public KpiResourceFormatInner withCalculationWindowFieldName(String calculationWindowFieldName)
      Set the calculationWindowFieldName property: Name of calculation window field.
      Parameters:
      calculationWindowFieldName - the calculationWindowFieldName value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • function

      public KpiFunctions function()
      Get the function property: The computation function for the KPI.
      Returns:
      the function value.
    • withFunction

      public KpiResourceFormatInner withFunction(KpiFunctions function)
      Set the function property: The computation function for the KPI.
      Parameters:
      function - the function value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • expression

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

      public KpiResourceFormatInner withExpression(String expression)
      Set the expression property: The computation expression for the KPI.
      Parameters:
      expression - the expression value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • unit

      public String unit()
      Get the unit property: The unit of measurement for the KPI.
      Returns:
      the unit value.
    • withUnit

      public KpiResourceFormatInner withUnit(String unit)
      Set the unit property: The unit of measurement for the KPI.
      Parameters:
      unit - the unit value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • filter

      public String filter()
      Get the filter property: The filter expression for the KPI.
      Returns:
      the filter value.
    • withFilter

      public KpiResourceFormatInner withFilter(String filter)
      Set the filter property: The filter expression for the KPI.
      Parameters:
      filter - the filter value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • groupBy

      public List<String> groupBy()
      Get the groupBy property: the group by properties for the KPI.
      Returns:
      the groupBy value.
    • withGroupBy

      public KpiResourceFormatInner withGroupBy(List<String> groupBy)
      Set the groupBy property: the group by properties for the KPI.
      Parameters:
      groupBy - the groupBy value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • groupByMetadata

      public List<KpiGroupByMetadata> groupByMetadata()
      Get the groupByMetadata property: The KPI GroupByMetadata.
      Returns:
      the groupByMetadata value.
    • participantProfilesMetadata

      public List<KpiParticipantProfilesMetadata> participantProfilesMetadata()
      Get the participantProfilesMetadata property: The participant profiles.
      Returns:
      the participantProfilesMetadata value.
    • provisioningState

      public ProvisioningStates provisioningState()
      Get the provisioningState property: Provisioning state.
      Returns:
      the provisioningState value.
    • thresHolds

      public KpiThresholds thresHolds()
      Get the thresHolds property: The KPI thresholds.
      Returns:
      the thresHolds value.
    • withThresHolds

      public KpiResourceFormatInner withThresHolds(KpiThresholds thresHolds)
      Set the thresHolds property: The KPI thresholds.
      Parameters:
      thresHolds - the thresHolds value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • aliases

      public List<KpiAlias> aliases()
      Get the aliases property: The aliases.
      Returns:
      the aliases value.
    • withAliases

      public KpiResourceFormatInner withAliases(List<KpiAlias> aliases)
      Set the aliases property: The aliases.
      Parameters:
      aliases - the aliases value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • extracts

      public List<KpiExtract> extracts()
      Get the extracts property: The KPI extracts.
      Returns:
      the extracts value.
    • withExtracts

      public KpiResourceFormatInner withExtracts(List<KpiExtract> extracts)
      Set the extracts property: The KPI extracts.
      Parameters:
      extracts - the extracts value to set.
      Returns:
      the KpiResourceFormatInner object itself.
    • validate

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