PatternRuleCreateObject Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PatternRuleCreateObject
- com.
public class PatternRuleCreateObject
Object model for creating a pattern.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
intent()
Get the intent value. |
String |
pattern()
Get the pattern value. |
Pattern |
withIntent(String intent)
Set the intent value. |
Pattern |
withPattern(String pattern)
Set the pattern value. |
Method Details
intent
public String intent()
Get the intent value.
Returns:
the intent value
pattern
public String pattern()
Get the pattern value.
Returns:
the pattern value
withIntent
public PatternRuleCreateObject withIntent(String intent)
Set the intent value.
Parameters:
intent
- the intent value to set
Returns:
the PatternRuleCreateObject object itself.
withPattern
public PatternRuleCreateObject withPattern(String pattern)
Set the pattern value.
Parameters:
pattern
- the pattern value to set
Returns:
the PatternRuleCreateObject object itself.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.