NameAndUserDataContract Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. NameAndUserDataContract
- com.
public class NameAndUserDataContract
A combination of user defined name and user specified data for the person, personGroup, and faceList.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name value. |
String |
userData()
Get the userData value. |
Name |
withName(String name)
Set the name value. |
Name |
withUserData(String userData)
Set the userData value. |
Method Details
name
public String name()
Get the name value.
Returns:
the name value
userData
public String userData()
Get the userData value.
Returns:
the userData value
withName
public NameAndUserDataContract withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the NameAndUserDataContract object itself.
withUserData
public NameAndUserDataContract withUserData(String userData)
Set the userData value.
Parameters:
userData
- the userData value to set
Returns:
the NameAndUserDataContract 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