Match Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. Match
- com.
public class Match
The match details.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
label()
Get the label value. |
Integer |
matchId()
Get the matchId value. |
Double |
score()
Get the score value. |
String |
source()
Get the source value. |
List<Integer> |
tags()
Get the tags value. |
Match |
withLabel(String label)
Set the label value. |
Match |
withMatchId(Integer matchId)
Set the matchId value. |
Match |
withScore(Double score)
Set the score value. |
Match |
withSource(String source)
Set the source value. |
Match |
withTags(List<Integer> tags)
Set the tags value. |
Method Details
label
public String label()
Get the label value.
Returns:
matchId
public Integer matchId()
Get the matchId value.
Returns:
score
public Double score()
Get the score value.
Returns:
source
public String source()
Get the source value.
Returns:
tags
public List
Get the tags value.
Returns:
withLabel
public Match withLabel(String label)
Set the label value.
Parameters:
Returns:
withMatchId
public Match withMatchId(Integer matchId)
Set the matchId value.
Parameters:
Returns:
withScore
public Match withScore(Double score)
Set the score value.
Parameters:
Returns:
withSource
public Match withSource(String source)
Set the source value.
Parameters:
Returns:
withTags
public Match withTags(List
Set the tags value.
Parameters:
Returns:
Applies to
Azure SDK for Java