Class PatternRuleCreateObject
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PatternRuleCreateObject
-
public class PatternRuleCreateObject extends Object
Object model for creating a pattern.
-
-
Constructor Summary
Constructors Constructor Description PatternRuleCreateObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
intent()
Get the intent value.String
pattern()
Get the pattern value.PatternRuleCreateObject
withIntent(String intent)
Set the intent value.PatternRuleCreateObject
withPattern(String pattern)
Set the pattern value.
-
-
-
Method Detail
-
pattern
public String pattern()
Get the pattern value.- Returns:
- the pattern value
-
withPattern
public PatternRuleCreateObject withPattern(String pattern)
Set the pattern value.- Parameters:
pattern
- the pattern value to set- Returns:
- the PatternRuleCreateObject object itself.
-
intent
public String intent()
Get the intent value.- Returns:
- the intent value
-
withIntent
public PatternRuleCreateObject withIntent(String intent)
Set the intent value.- Parameters:
intent
- the intent value to set- Returns:
- the PatternRuleCreateObject object itself.
-
-