MatchResponse Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. MatchResponse
- com.
public class MatchResponse
The response for a Match request.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
cacheID()
Get the cacheID value. |
Boolean |
isMatch()
Get the isMatch value. |
List<Match> |
matches()
Get the matches value. |
Status |
status()
Get the status value. |
String |
trackingId()
Get the trackingId value. |
Match |
withCacheID(String cacheID)
Set the cacheID value. |
Match |
withIsMatch(Boolean isMatch)
Set the isMatch value. |
Match |
withMatches(List<Match> matches)
Set the matches value. |
Match |
withStatus(Status status)
Set the status value. |
Match |
withTrackingId(String trackingId)
Set the trackingId value. |
Method Details
cacheID
public String cacheID()
Get the cacheID value.
Returns:
isMatch
public Boolean isMatch()
Get the isMatch value.
Returns:
matches
public List
Get the matches value.
Returns:
status
public Status status()
Get the status value.
Returns:
trackingId
public String trackingId()
Get the trackingId value.
Returns:
withCacheID
public MatchResponse withCacheID(String cacheID)
Set the cacheID value.
Parameters:
Returns:
withIsMatch
public MatchResponse withIsMatch(Boolean isMatch)
Set the isMatch value.
Parameters:
Returns:
withMatches
public MatchResponse withMatches(List
Set the matches value.
Parameters:
Returns:
withStatus
public MatchResponse withStatus(Status status)
Set the status value.
Parameters:
Returns:
withTrackingId
public MatchResponse withTrackingId(String trackingId)
Set the trackingId value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour