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:
the error value
hasError
public Boolean hasError()
Get the hasError value.
Returns:
the hasError value
value
public LabelExampleResponse value()
Get the value value.
Returns:
the value value
withError
public BatchLabelExample withError(OperationStatus error)
Set the error value.
Parameters:
error
- the error value to set
Returns:
the BatchLabelExample object itself.
withHasError
public BatchLabelExample withHasError(Boolean hasError)
Set the hasError value.
Parameters:
hasError
- the hasError value to set
Returns:
the BatchLabelExample object itself.
withValue
public BatchLabelExample withValue(LabelExampleResponse value)
Set the value value.
Parameters:
value
- the value value to set
Returns:
the BatchLabelExample object itself.