共用方式為


ModelFeatureInformation Class

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

public class ModelFeatureInformation

An object containing the model feature information either the model name or feature name.

Method Summary

Modifier and Type Method and Description
String featureName()

Get the featureName value.

Boolean isRequired()

Get the isRequired value.

String modelName()

Get the modelName value.

ModelFeatureInformation withFeatureName(String featureName)

Set the featureName value.

ModelFeatureInformation withIsRequired(Boolean isRequired)

Set the isRequired value.

ModelFeatureInformation withModelName(String modelName)

Set the modelName value.

Method Details

featureName

public String featureName()

Get the featureName value.

Returns:

the featureName value

isRequired

public Boolean isRequired()

Get the isRequired value.

Returns:

the isRequired value

modelName

public String modelName()

Get the modelName value.

Returns:

the modelName value

withFeatureName

public ModelFeatureInformation withFeatureName(String featureName)

Set the featureName value.

Parameters:

featureName - the featureName value to set

Returns:

the ModelFeatureInformation object itself.

withIsRequired

public ModelFeatureInformation withIsRequired(Boolean isRequired)

Set the isRequired value.

Parameters:

isRequired - the isRequired value to set

Returns:

the ModelFeatureInformation object itself.

withModelName

public ModelFeatureInformation withModelName(String modelName)

Set the modelName value.

Parameters:

modelName - the modelName value to set

Returns:

the ModelFeatureInformation object itself.

Applies to