Class KpiDefinitionInner
java.lang.Object
com.azure.resourcemanager.customerinsights.fluent.models.KpiDefinitionInner
- Direct Known Subclasses:
EnrichingKpi
Defines the KPI Threshold limits.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaliases()
Get the aliases property: The aliases.Get the calculationWindow property: The calculation window.Get the calculationWindowFieldName property: Name of calculation window field.Get the description property: Localized description for the KPI.Get the displayName property: Localized display name for the KPI.Get the entityType property: The mapping entity type.Get the entityTypeName property: The mapping entity name.Get the expression property: The computation expression for the KPI.extracts()
Get the extracts property: The KPI extracts.filter()
Get the filter property: The filter expression for the KPI.function()
Get the function property: The computation function for the KPI.groupBy()
Get the groupBy property: the group by properties for the KPI.Get the groupByMetadata property: The KPI GroupByMetadata.kpiName()
Get the kpiName property: The KPI name.Get the participantProfilesMetadata property: The participant profiles.Get the provisioningState property: Provisioning state.tenantId()
Get the tenantId property: The hub name.Get the thresHolds property: The KPI thresholds.unit()
Get the unit property: The unit of measurement for the KPI.void
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.
-
Constructor Details
-
KpiDefinitionInner
public KpiDefinitionInner()Creates an instance of KpiDefinitionInner class.
-
-
Method Details
-
entityType
Get the entityType property: The mapping entity type.- Returns:
- the entityType value.
-
withEntityType
Set the entityType property: The mapping entity type.- Parameters:
entityType
- the entityType value to set.- Returns:
- the KpiDefinitionInner object itself.
-
entityTypeName
Get the entityTypeName property: The mapping entity name.- Returns:
- the entityTypeName value.
-
withEntityTypeName
Set the entityTypeName property: The mapping entity name.- Parameters:
entityTypeName
- the entityTypeName value to set.- Returns:
- the KpiDefinitionInner object itself.
-
tenantId
Get the tenantId property: The hub name.- Returns:
- the tenantId value.
-
kpiName
Get the kpiName property: The KPI name.- Returns:
- the kpiName value.
-
displayName
Get the displayName property: Localized display name for the KPI.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized display name for the KPI.- Parameters:
displayName
- the displayName value to set.- Returns:
- the KpiDefinitionInner object itself.
-
description
Get the description property: Localized description for the KPI.- Returns:
- the description value.
-
withDescription
Set the description property: Localized description for the KPI.- Parameters:
description
- the description value to set.- Returns:
- the KpiDefinitionInner object itself.
-
calculationWindow
Get the calculationWindow property: The calculation window.- Returns:
- the calculationWindow value.
-
withCalculationWindow
Set the calculationWindow property: The calculation window.- Parameters:
calculationWindow
- the calculationWindow value to set.- Returns:
- the KpiDefinitionInner object itself.
-
calculationWindowFieldName
Get the calculationWindowFieldName property: Name of calculation window field.- Returns:
- the calculationWindowFieldName value.
-
withCalculationWindowFieldName
Set the calculationWindowFieldName property: Name of calculation window field.- Parameters:
calculationWindowFieldName
- the calculationWindowFieldName value to set.- Returns:
- the KpiDefinitionInner object itself.
-
function
Get the function property: The computation function for the KPI.- Returns:
- the function value.
-
withFunction
Set the function property: The computation function for the KPI.- Parameters:
function
- the function value to set.- Returns:
- the KpiDefinitionInner object itself.
-
expression
Get the expression property: The computation expression for the KPI.- Returns:
- the expression value.
-
withExpression
Set the expression property: The computation expression for the KPI.- Parameters:
expression
- the expression value to set.- Returns:
- the KpiDefinitionInner object itself.
-
unit
Get the unit property: The unit of measurement for the KPI.- Returns:
- the unit value.
-
withUnit
Set the unit property: The unit of measurement for the KPI.- Parameters:
unit
- the unit value to set.- Returns:
- the KpiDefinitionInner object itself.
-
filter
Get the filter property: The filter expression for the KPI.- Returns:
- the filter value.
-
withFilter
Set the filter property: The filter expression for the KPI.- Parameters:
filter
- the filter value to set.- Returns:
- the KpiDefinitionInner object itself.
-
groupBy
Get the groupBy property: the group by properties for the KPI.- Returns:
- the groupBy value.
-
withGroupBy
Set the groupBy property: the group by properties for the KPI.- Parameters:
groupBy
- the groupBy value to set.- Returns:
- the KpiDefinitionInner object itself.
-
groupByMetadata
Get the groupByMetadata property: The KPI GroupByMetadata.- Returns:
- the groupByMetadata value.
-
participantProfilesMetadata
Get the participantProfilesMetadata property: The participant profiles.- Returns:
- the participantProfilesMetadata value.
-
provisioningState
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
thresHolds
Get the thresHolds property: The KPI thresholds.- Returns:
- the thresHolds value.
-
withThresHolds
Set the thresHolds property: The KPI thresholds.- Parameters:
thresHolds
- the thresHolds value to set.- Returns:
- the KpiDefinitionInner object itself.
-
aliases
Get the aliases property: The aliases.- Returns:
- the aliases value.
-
withAliases
Set the aliases property: The aliases.- Parameters:
aliases
- the aliases value to set.- Returns:
- the KpiDefinitionInner object itself.
-
extracts
Get the extracts property: The KPI extracts.- Returns:
- the extracts value.
-
withExtracts
Set the extracts property: The KPI extracts.- Parameters:
extracts
- the extracts value to set.- Returns:
- the KpiDefinitionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-