PII Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. PII
- com.
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:
public List
Get the email value.
Returns:
iPA
public List
Get the iPA value.
Returns:
phone
public List
Get the phone value.
Returns:
sSN
public List
Get the sSN value.
Returns:
withAddress
public PII withAddress(List
address)Set the address value.
Parameters:
Returns:
withEmail
public PII withEmail(List
Set the email value.
Parameters:
Returns:
withIPA
public PII withIPA(List
Set the iPA value.
Parameters:
Returns:
withPhone
public PII withPhone(List
Set the phone value.
Parameters:
Returns:
withSSN
public PII withSSN(List
Set the sSN value.
Parameters:
Returns:
Applies to
Azure SDK for Java