RegexModelUpdateObject Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. RegexModelUpdateObject
- com.
public class RegexModelUpdateObject
Model object for updating 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 RegexModelUpdateObject withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the RegexModelUpdateObject object itself.
withRegexPattern
public RegexModelUpdateObject withRegexPattern(String regexPattern)
Set the regexPattern value.
Parameters:
regexPattern
- the regexPattern value to set
Returns:
the RegexModelUpdateObject 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