BatchLabelExample Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. BatchLabelExample
- com.
public class BatchLabelExample
Response when adding a batch of labeled example utterances.
Method Summary
Modifier and Type | Method and Description |
---|---|
Operation |
error()
Get the error value. |
Boolean |
hasError()
Get the hasError value. |
Label |
value()
Get the value value. |
Batch |
withError(OperationStatus error)
Set the error value. |
Batch |
withHasError(Boolean hasError)
Set the hasError value. |
Batch |
withValue(LabelExampleResponse value)
Set the value value. |
Method Details
error
public OperationStatus error()
Get the error value.
Returns:
hasError
public Boolean hasError()
Get the hasError value.
Returns:
value
public LabelExampleResponse value()
Get the value value.
Returns:
withError
public BatchLabelExample withError(OperationStatus error)
Set the error value.
Parameters:
Returns:
withHasError
public BatchLabelExample withHasError(Boolean hasError)
Set the hasError value.
Parameters:
Returns:
withValue
public BatchLabelExample withValue(LabelExampleResponse value)
Set the value value.
Parameters:
Returns:
Applies to
Azure SDK for Java