Class QueryUtterancesResult
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.QueryUtterancesResult
-
public final class QueryUtterancesResult extends Object
Result for utterances query.
-
-
Constructor Summary
Constructors Constructor Description QueryUtterancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SampleUtterancesampleUtterance()Get the sampleUtterance property: A sample utterance.Floatscore()Get the score property: Score of a sample utterance.voidvalidate()Validates the instance.QueryUtterancesResultwithSampleUtterance(SampleUtterance sampleUtterance)Set the sampleUtterance property: A sample utterance.QueryUtterancesResultwithScore(Float score)Set the score property: Score of a sample utterance.
-
-
-
Method Detail
-
sampleUtterance
public SampleUtterance sampleUtterance()
Get the sampleUtterance property: A sample utterance.- Returns:
- the sampleUtterance value.
-
withSampleUtterance
public QueryUtterancesResult withSampleUtterance(SampleUtterance sampleUtterance)
Set the sampleUtterance property: A sample utterance.- Parameters:
sampleUtterance- the sampleUtterance value to set.- Returns:
- the QueryUtterancesResult object itself.
-
score
public Float score()
Get the score property: Score of a sample utterance.- Returns:
- the score value.
-
withScore
public QueryUtterancesResult withScore(Float score)
Set the score property: Score of a sample utterance.- Parameters:
score- the score value to set.- Returns:
- the QueryUtterancesResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-