SSN Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.SSN

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