PatternRuleUpdateObject Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. PatternRuleUpdateObject
- com.
public class PatternRuleUpdateObject
Object model for updating a pattern.
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
id()
Get the id value. |
String |
intent()
Get the intent value. |
String |
pattern()
Get the pattern value. |
Pattern |
withId(UUID id)
Set the id value. |
Pattern |
withIntent(String intent)
Set the intent value. |
Pattern |
withPattern(String pattern)
Set the pattern value. |
Method Details
id
public UUID id()
Get the id value.
Returns:
intent
public String intent()
Get the intent value.
Returns:
pattern
public String pattern()
Get the pattern value.
Returns:
withId
public PatternRuleUpdateObject withId(UUID id)
Set the id value.
Parameters:
Returns:
withIntent
public PatternRuleUpdateObject withIntent(String intent)
Set the intent value.
Parameters:
Returns:
withPattern
public PatternRuleUpdateObject withPattern(String pattern)
Set the pattern value.
Parameters:
Returns:
Applies to
Azure SDK for Java