SSN Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. SSN
- com.
public class SSN
Detected SSN details.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
index()
Get the index value. |
String |
text()
Get the text value. |
SSN |
withIndex(Integer index)
Set the index value. |
SSN |
withText(String text)
Set the text value. |
Method Details
index
public Integer index()
Get the index value.
Returns:
the index value
text
public String text()
Get the text value.
Returns:
the text value
withIndex
public SSN withIndex(Integer index)
Set the index value.
Parameters:
index
- the index value to set
Returns:
the SSN object itself.
withText
public SSN withText(String text)
Set the text value.
Parameters:
text
- the text value to set
Returns:
the SSN object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java