Person Class
- java.
lang. Object - NameAndUserDataContract
- com.
microsoft. azure. cognitiveservices. vision. faceapi. models. Person
- com.
public class Person extends NameAndUserDataContract
Person object.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<UUID> |
persistedFaceIds()
Get the persistedFaceIds value. |
UUID |
personId()
Get the personId value. |
Person |
withPersistedFaceIds(List<UUID> persistedFaceIds)
Set the persistedFaceIds value. |
Person |
withPersonId(UUID personId)
Set the personId value. |
Inherited Members
NameAndUserDataContract.name()
NameAndUserDataContract.userData()
NameAndUserDataContract.withName(String name)
NameAndUserDataContract.withUserData(String userData)
Method Details
persistedFaceIds
public List
Get the persistedFaceIds value.
Returns:
the persistedFaceIds value
personId
public UUID personId()
Get the personId value.
Returns:
the personId value
withPersistedFaceIds
public Person withPersistedFaceIds(List
Set the persistedFaceIds value.
Parameters:
persistedFaceIds
- the persistedFaceIds value to set
Returns:
the Person object itself.
withPersonId
public Person withPersonId(UUID personId)
Set the personId value.
Parameters:
personId
- the personId value to set
Returns:
the Person object itself.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java