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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java