Class EnrichingKpi
java.lang.Object
com.azure.resourcemanager.customerinsights.fluent.models.KpiDefinitionInner
com.azure.resourcemanager.customerinsights.models.EnrichingKpi
The enriching KPI definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withAliases
(List<KpiAlias> aliases) Set the aliases property: The aliases.withCalculationWindow
(CalculationWindowTypes calculationWindow) Set the calculationWindow property: The calculation window.withCalculationWindowFieldName
(String calculationWindowFieldName) Set the calculationWindowFieldName property: Name of calculation window field.withDescription
(Map<String, String> description) Set the description property: Localized description for the KPI.withDisplayName
(Map<String, String> displayName) Set the displayName property: Localized display name for the KPI.withEntityType
(EntityTypes entityType) Set the entityType property: The mapping entity type.withEntityTypeName
(String entityTypeName) Set the entityTypeName property: The mapping entity name.withExpression
(String expression) Set the expression property: The computation expression for the KPI.withExtracts
(List<KpiExtract> extracts) Set the extracts property: The KPI extracts.withFilter
(String filter) Set the filter property: The filter expression for the KPI.withFunction
(KpiFunctions function) Set the function property: The computation function for the KPI.withGroupBy
(List<String> groupBy) Set the groupBy property: the group by properties for the KPI.withThresHolds
(KpiThresholds thresHolds) Set the thresHolds property: The KPI thresholds.Set the unit property: The unit of measurement for the KPI.Methods inherited from class com.azure.resourcemanager.customerinsights.fluent.models.KpiDefinitionInner
aliases, calculationWindow, calculationWindowFieldName, description, displayName, entityType, entityTypeName, expression, extracts, filter, function, groupBy, groupByMetadata, kpiName, participantProfilesMetadata, provisioningState, tenantId, thresHolds, unit
-
Constructor Details
-
EnrichingKpi
public EnrichingKpi()Creates an instance of EnrichingKpi class.
-
-
Method Details
-
withEntityType
Set the entityType property: The mapping entity type.- Overrides:
withEntityType
in classKpiDefinitionInner
- Parameters:
entityType
- the entityType value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withEntityTypeName
Set the entityTypeName property: The mapping entity name.- Overrides:
withEntityTypeName
in classKpiDefinitionInner
- Parameters:
entityTypeName
- the entityTypeName value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withDisplayName
Set the displayName property: Localized display name for the KPI.- Overrides:
withDisplayName
in classKpiDefinitionInner
- Parameters:
displayName
- the displayName value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withDescription
Set the description property: Localized description for the KPI.- Overrides:
withDescription
in classKpiDefinitionInner
- Parameters:
description
- the description value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withCalculationWindow
Set the calculationWindow property: The calculation window.- Overrides:
withCalculationWindow
in classKpiDefinitionInner
- Parameters:
calculationWindow
- the calculationWindow value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withCalculationWindowFieldName
Set the calculationWindowFieldName property: Name of calculation window field.- Overrides:
withCalculationWindowFieldName
in classKpiDefinitionInner
- Parameters:
calculationWindowFieldName
- the calculationWindowFieldName value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withFunction
Set the function property: The computation function for the KPI.- Overrides:
withFunction
in classKpiDefinitionInner
- Parameters:
function
- the function value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withExpression
Set the expression property: The computation expression for the KPI.- Overrides:
withExpression
in classKpiDefinitionInner
- Parameters:
expression
- the expression value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withUnit
Set the unit property: The unit of measurement for the KPI.- Overrides:
withUnit
in classKpiDefinitionInner
- Parameters:
unit
- the unit value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withFilter
Set the filter property: The filter expression for the KPI.- Overrides:
withFilter
in classKpiDefinitionInner
- Parameters:
filter
- the filter value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withGroupBy
Set the groupBy property: the group by properties for the KPI.- Overrides:
withGroupBy
in classKpiDefinitionInner
- Parameters:
groupBy
- the groupBy value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withThresHolds
Set the thresHolds property: The KPI thresholds.- Overrides:
withThresHolds
in classKpiDefinitionInner
- Parameters:
thresHolds
- the thresHolds value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withAliases
Set the aliases property: The aliases.- Overrides:
withAliases
in classKpiDefinitionInner
- Parameters:
aliases
- the aliases value to set.- Returns:
- the KpiDefinitionInner object itself.
-
withExtracts
Set the extracts property: The KPI extracts.- Overrides:
withExtracts
in classKpiDefinitionInner
- Parameters:
extracts
- the extracts value to set.- Returns:
- the KpiDefinitionInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classKpiDefinitionInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-