PatternAny Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PatternAny
- com.
public class PatternAny
Pattern.Any Entity Extractor.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
explicitList()
Get the explicitList value. |
String |
name()
Get the name value. |
List<String> |
roles()
Get the roles value. |
Pattern |
withExplicitList(List<String> explicitList)
Set the explicitList value. |
Pattern |
withName(String name)
Set the name value. |
Pattern |
withRoles(List<String> roles)
Set the roles value. |
Method Details
explicitList
public List
Get the explicitList value.
Returns:
the explicitList value
name
public String name()
Get the name value.
Returns:
the name value
roles
public List
Get the roles value.
Returns:
the roles value
withExplicitList
public PatternAny withExplicitList(List
Set the explicitList value.
Parameters:
explicitList
- the explicitList value to set
Returns:
the PatternAny object itself.
withName
public PatternAny withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the PatternAny object itself.
withRoles
public PatternAny withRoles(List
Set the roles value.
Parameters:
roles
- the roles value to set
Returns:
the PatternAny object itself.