public final class QueryUtterancesResult extends Object
| Constructor and Description |
|---|
QueryUtterancesResult() |
| Modifier and Type | Method and Description |
|---|---|
SampleUtterance |
sampleUtterance()
Get the sampleUtterance property: A sample utterance.
|
Float |
score()
Get the score property: Score of a sample utterance.
|
void |
validate()
Validates the instance.
|
QueryUtterancesResult |
withSampleUtterance(SampleUtterance sampleUtterance)
Set the sampleUtterance property: A sample utterance.
|
QueryUtterancesResult |
withScore(Float score)
Set the score property: Score of a sample utterance.
|
public SampleUtterance sampleUtterance()
public QueryUtterancesResult withSampleUtterance(SampleUtterance sampleUtterance)
sampleUtterance - the sampleUtterance value to set.public Float score()
public QueryUtterancesResult withScore(Float score)
score - the score value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.