PredictionMappings Class

  • java.lang.Object
    • com.azure.resourcemanager.customerinsights.models.PredictionMappings

public final class PredictionMappings

Definition of the link mapping of prediction.

Constructor Summary

Constructor Description
PredictionMappings()

Creates an instance of PredictionMappings class.

Method Summary

Modifier and Type Method and Description
String grade()

Get the grade property: The grade of the link mapping.

String reason()

Get the reason property: The reason of the link mapping.

String score()

Get the score property: The score of the link mapping.

void validate()

Validates the instance.

PredictionMappings withGrade(String grade)

Set the grade property: The grade of the link mapping.

PredictionMappings withReason(String reason)

Set the reason property: The reason of the link mapping.

PredictionMappings withScore(String score)

Set the score property: The score of the link mapping.

Methods inherited from java.lang.Object

Constructor Details

PredictionMappings

public PredictionMappings()

Creates an instance of PredictionMappings class.

Method Details

grade

public String grade()

Get the grade property: The grade of the link mapping.

Returns:

the grade value.

reason

public String reason()

Get the reason property: The reason of the link mapping.

Returns:

the reason value.

score

public String score()

Get the score property: The score of the link mapping.

Returns:

the score value.

validate

public void validate()

Validates the instance.

withGrade

public PredictionMappings withGrade(String grade)

Set the grade property: The grade of the link mapping.

Parameters:

grade - the grade value to set.

Returns:

the PredictionMappings object itself.

withReason

public PredictionMappings withReason(String reason)

Set the reason property: The reason of the link mapping.

Parameters:

reason - the reason value to set.

Returns:

the PredictionMappings object itself.

withScore

public PredictionMappings withScore(String score)

Set the score property: The score of the link mapping.

Parameters:

score - the score value to set.

Returns:

the PredictionMappings object itself.

Applies to