PatternRuleInfo Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PatternRuleInfo

public class PatternRuleInfo

Pattern rule.

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.

PatternRuleInfo withId(UUID id)

Set the id value.

PatternRuleInfo withIntent(String intent)

Set the intent value.

PatternRuleInfo withPattern(String pattern)

Set the pattern value.

Method Details

id

public UUID id()

Get the id value.

Returns:

the id value

intent

public String intent()

Get the intent value.

Returns:

the intent value

pattern

public String pattern()

Get the pattern value.

Returns:

the pattern value

withId

public PatternRuleInfo withId(UUID id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the PatternRuleInfo object itself.

withIntent

public PatternRuleInfo withIntent(String intent)

Set the intent value.

Parameters:

intent - the intent value to set

Returns:

the PatternRuleInfo object itself.

withPattern

public PatternRuleInfo withPattern(String pattern)

Set the pattern value.

Parameters:

pattern - the pattern value to set

Returns:

the PatternRuleInfo object itself.

Applies to