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