DetectedTerms Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. DetectedTerms
- com.
public class DetectedTerms
Detected Terms details.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
index()
Get the index value. |
Integer |
listId()
Get the listId value. |
Integer |
originalIndex()
Get the originalIndex value. |
String |
term()
Get the term value. |
Detected |
withIndex(Integer index)
Set the index value. |
Detected |
withListId(Integer listId)
Set the listId value. |
Detected |
withOriginalIndex(Integer originalIndex)
Set the originalIndex value. |
Detected |
withTerm(String term)
Set the term value. |
Method Details
index
public Integer index()
Get the index value.
Returns:
listId
public Integer listId()
Get the listId value.
Returns:
originalIndex
public Integer originalIndex()
Get the originalIndex value.
Returns:
term
public String term()
Get the term value.
Returns:
withIndex
public DetectedTerms withIndex(Integer index)
Set the index value.
Parameters:
Returns:
withListId
public DetectedTerms withListId(Integer listId)
Set the listId value.
Parameters:
Returns:
withOriginalIndex
public DetectedTerms withOriginalIndex(Integer originalIndex)
Set the originalIndex value.
Parameters:
Returns:
withTerm
public DetectedTerms withTerm(String term)
Set the term value.
Parameters:
Returns:
Applies to
Azure SDK for Java