java.lang.Object
com.azure.resourcemanager.customerinsights.fluent.models.Prediction

public final class Prediction extends Object
The prediction definition.
  • Constructor Details

    • Prediction

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

    • description

      public Map<String,String> description()
      Get the description property: Description of the prediction.
      Returns:
      the description value.
    • withDescription

      public Prediction withDescription(Map<String,String> description)
      Set the description property: Description of the prediction.
      Parameters:
      description - the description value to set.
      Returns:
      the Prediction object itself.
    • displayName

      public Map<String,String> displayName()
      Get the displayName property: Display name of the prediction.
      Returns:
      the displayName value.
    • withDisplayName

      public Prediction withDisplayName(Map<String,String> displayName)
      Set the displayName property: Display name of the prediction.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the Prediction object itself.
    • involvedInteractionTypes

      public List<String> involvedInteractionTypes()
      Get the involvedInteractionTypes property: Interaction types involved in the prediction.
      Returns:
      the involvedInteractionTypes value.
    • withInvolvedInteractionTypes

      public Prediction withInvolvedInteractionTypes(List<String> involvedInteractionTypes)
      Set the involvedInteractionTypes property: Interaction types involved in the prediction.
      Parameters:
      involvedInteractionTypes - the involvedInteractionTypes value to set.
      Returns:
      the Prediction object itself.
    • involvedKpiTypes

      public List<String> involvedKpiTypes()
      Get the involvedKpiTypes property: KPI types involved in the prediction.
      Returns:
      the involvedKpiTypes value.
    • withInvolvedKpiTypes

      public Prediction withInvolvedKpiTypes(List<String> involvedKpiTypes)
      Set the involvedKpiTypes property: KPI types involved in the prediction.
      Parameters:
      involvedKpiTypes - the involvedKpiTypes value to set.
      Returns:
      the Prediction object itself.
    • involvedRelationships

      public List<String> involvedRelationships()
      Get the involvedRelationships property: Relationships involved in the prediction.
      Returns:
      the involvedRelationships value.
    • withInvolvedRelationships

      public Prediction withInvolvedRelationships(List<String> involvedRelationships)
      Set the involvedRelationships property: Relationships involved in the prediction.
      Parameters:
      involvedRelationships - the involvedRelationships value to set.
      Returns:
      the Prediction object itself.
    • negativeOutcomeExpression

      public String negativeOutcomeExpression()
      Get the negativeOutcomeExpression property: Negative outcome expression.
      Returns:
      the negativeOutcomeExpression value.
    • withNegativeOutcomeExpression

      public Prediction withNegativeOutcomeExpression(String negativeOutcomeExpression)
      Set the negativeOutcomeExpression property: Negative outcome expression.
      Parameters:
      negativeOutcomeExpression - the negativeOutcomeExpression value to set.
      Returns:
      the Prediction object itself.
    • positiveOutcomeExpression

      public String positiveOutcomeExpression()
      Get the positiveOutcomeExpression property: Positive outcome expression.
      Returns:
      the positiveOutcomeExpression value.
    • withPositiveOutcomeExpression

      public Prediction withPositiveOutcomeExpression(String positiveOutcomeExpression)
      Set the positiveOutcomeExpression property: Positive outcome expression.
      Parameters:
      positiveOutcomeExpression - the positiveOutcomeExpression value to set.
      Returns:
      the Prediction object itself.
    • primaryProfileType

      public String primaryProfileType()
      Get the primaryProfileType property: Primary profile type.
      Returns:
      the primaryProfileType value.
    • withPrimaryProfileType

      public Prediction withPrimaryProfileType(String primaryProfileType)
      Set the primaryProfileType property: Primary profile type.
      Parameters:
      primaryProfileType - the primaryProfileType value to set.
      Returns:
      the Prediction object itself.
    • provisioningState

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

      public String predictionName()
      Get the predictionName property: Name of the prediction.
      Returns:
      the predictionName value.
    • withPredictionName

      public Prediction withPredictionName(String predictionName)
      Set the predictionName property: Name of the prediction.
      Parameters:
      predictionName - the predictionName value to set.
      Returns:
      the Prediction object itself.
    • scopeExpression

      public String scopeExpression()
      Get the scopeExpression property: Scope expression.
      Returns:
      the scopeExpression value.
    • withScopeExpression

      public Prediction withScopeExpression(String scopeExpression)
      Set the scopeExpression property: Scope expression.
      Parameters:
      scopeExpression - the scopeExpression value to set.
      Returns:
      the Prediction object itself.
    • tenantId

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

      public boolean autoAnalyze()
      Get the autoAnalyze property: Whether do auto analyze.
      Returns:
      the autoAnalyze value.
    • withAutoAnalyze

      public Prediction withAutoAnalyze(boolean autoAnalyze)
      Set the autoAnalyze property: Whether do auto analyze.
      Parameters:
      autoAnalyze - the autoAnalyze value to set.
      Returns:
      the Prediction object itself.
    • mappings

      public PredictionMappings mappings()
      Get the mappings property: Definition of the link mapping of prediction.
      Returns:
      the mappings value.
    • withMappings

      public Prediction withMappings(PredictionMappings mappings)
      Set the mappings property: Definition of the link mapping of prediction.
      Parameters:
      mappings - the mappings value to set.
      Returns:
      the Prediction object itself.
    • scoreLabel

      public String scoreLabel()
      Get the scoreLabel property: Score label.
      Returns:
      the scoreLabel value.
    • withScoreLabel

      public Prediction withScoreLabel(String scoreLabel)
      Set the scoreLabel property: Score label.
      Parameters:
      scoreLabel - the scoreLabel value to set.
      Returns:
      the Prediction object itself.
    • grades

      public List<PredictionGradesItem> grades()
      Get the grades property: The prediction grades.
      Returns:
      the grades value.
    • withGrades

      public Prediction withGrades(List<PredictionGradesItem> grades)
      Set the grades property: The prediction grades.
      Parameters:
      grades - the grades value to set.
      Returns:
      the Prediction object itself.
    • systemGeneratedEntities

      public PredictionSystemGeneratedEntities systemGeneratedEntities()
      Get the systemGeneratedEntities property: System generated entities.
      Returns:
      the systemGeneratedEntities value.
    • validate

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