JSONRegexFeature Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. JSONRegexFeature
- com.
public class JSONRegexFeature
Exported Model - A Pattern feature.
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
activated()
Get the activated value. |
String |
name()
Get the name value. |
String |
pattern()
Get the pattern value. |
JSONRegex |
withActivated(Boolean activated)
Set the activated value. |
JSONRegex |
withName(String name)
Set the name value. |
JSONRegex |
withPattern(String pattern)
Set the pattern value. |
Method Details
activated
public Boolean activated()
Get the activated value.
Returns:
name
public String name()
Get the name value.
Returns:
pattern
public String pattern()
Get the pattern value.
Returns:
withActivated
public JSONRegexFeature withActivated(Boolean activated)
Set the activated value.
Parameters:
Returns:
withName
public JSONRegexFeature withName(String name)
Set the name value.
Parameters:
Returns:
withPattern
public JSONRegexFeature withPattern(String pattern)
Set the pattern value.
Parameters:
Returns:
Applies to
Azure SDK for Java