JSONRegexFeature Class

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

public class JSONRegexFeature

Exported Model - A Pattern feature.

Method Summary

Modifier and Type Method and Description
Boolean activated()

Get the activated value.

String name()

Get the name value.

String pattern()

Get the pattern value.

JSONRegexFeature withActivated(Boolean activated)

Set the activated value.

JSONRegexFeature withName(String name)

Set the name value.

JSONRegexFeature withPattern(String pattern)

Set the pattern value.

Method Details

activated

public Boolean activated()

Get the activated value.

Returns:

the activated value

name

public String name()

Get the name value.

Returns:

the name value

pattern

public String pattern()

Get the pattern value.

Returns:

the pattern value

withActivated

public JSONRegexFeature withActivated(Boolean activated)

Set the activated value.

Parameters:

activated - the activated value to set

Returns:

the JSONRegexFeature object itself.

withName

public JSONRegexFeature withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the JSONRegexFeature object itself.

withPattern

public JSONRegexFeature withPattern(String pattern)

Set the pattern value.

Parameters:

pattern - the pattern value to set

Returns:

the JSONRegexFeature object itself.

Applies to