RegexModelCreateObject Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. RegexModelCreateObject
- com.
public class RegexModelCreateObject
Model object for creating a regular expression entity model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name value. |
String |
regexPattern()
Get the regexPattern value. |
Regex |
withName(String name)
Set the name value. |
Regex |
withRegexPattern(String regexPattern)
Set the regexPattern value. |
Method Details
name
public String name()
Get the name value.
Returns:
the name value
regexPattern
public String regexPattern()
Get the regexPattern value.
Returns:
the regexPattern value
withName
public RegexModelCreateObject withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the RegexModelCreateObject object itself.
withRegexPattern
public RegexModelCreateObject withRegexPattern(String regexPattern)
Set the regexPattern value.
Parameters:
regexPattern
- the regexPattern value to set
Returns:
the RegexModelCreateObject 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