PII Class

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

public class PII

Personal Identifier Information details.

Method Summary

Modifier and Type Method and Description
List<Address> address()

Get the address value.

List<Email> email()

Get the email value.

List<IPA> iPA()

Get the iPA value.

List<Phone> phone()

Get the phone value.

List<SSN> sSN()

Get the sSN value.

PII withAddress(List<Address> address)

Set the address value.

PII withEmail(List<Email> email)

Set the email value.

PII withIPA(List<IPA> iPA)

Set the iPA value.

PII withPhone(List<Phone> phone)

Set the phone value.

PII withSSN(List<SSN> sSN)

Set the sSN value.

Method Details

address

public List

address()

Get the address value.

Returns:

the address value

email

public List email()

Get the email value.

Returns:

the email value

iPA

public List iPA()

Get the iPA value.

Returns:

the iPA value

phone

public List phone()

Get the phone value.

Returns:

the phone value

sSN

public List sSN()

Get the sSN value.

Returns:

the sSN value

withAddress

public PII withAddress(List

address)

Set the address value.

Parameters:

address - the address value to set

Returns:

the PII object itself.

withEmail

public PII withEmail(List email)

Set the email value.

Parameters:

email - the email value to set

Returns:

the PII object itself.

withIPA

public PII withIPA(List iPA)

Set the iPA value.

Parameters:

iPA - the iPA value to set

Returns:

the PII object itself.

withPhone

public PII withPhone(List phone)

Set the phone value.

Parameters:

phone - the phone value to set

Returns:

the PII object itself.

withSSN

public PII withSSN(List sSN)

Set the sSN value.

Parameters:

sSN - the sSN value to set

Returns:

the PII object itself.

Applies to