FeatureProperties Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase - com.
azure. resourcemanager. machinelearning. models. FeatureProperties
- com.
- com.
public final class FeatureProperties
extends ResourceBase
DTO object representing feature.
Constructor Summary
| Constructor | Description |
|---|---|
| FeatureProperties() |
Creates an instance of Feature |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Feature |
dataType()
Get the data |
| String |
featureName()
Get the feature |
|
static
Feature |
fromJson(JsonReader jsonReader)
Reads an instance of Feature |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Feature |
withDataType(FeatureDataType dataType)
Set the data |
|
Feature |
withDescription(String description)
Set the description property: The asset description text. |
|
Feature |
withFeatureName(String featureName)
Set the feature |
|
Feature |
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary. |
|
Feature |
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. |
Methods inherited from ResourceBase
Methods inherited from java.lang.Object
Constructor Details
FeatureProperties
public FeatureProperties()
Creates an instance of FeatureProperties class.
Method Details
dataType
public FeatureDataType dataType()
Get the dataType property: Specifies type.
Returns:
featureName
public String featureName()
Get the featureName property: Specifies name.
Returns:
fromJson
public static FeatureProperties fromJson(JsonReader jsonReader)
Reads an instance of FeatureProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FeatureProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
FeatureProperties.validate()withDataType
public FeatureProperties withDataType(FeatureDataType dataType)
Set the dataType property: Specifies type.
Parameters:
Returns:
withDescription
public FeatureProperties withDescription(String description)
Set the description property: The asset description text.
Overrides:
FeatureProperties.withDescription(String description)Parameters:
withFeatureName
public FeatureProperties withFeatureName(String featureName)
Set the featureName property: Specifies name.
Parameters:
Returns:
withProperties
public FeatureProperties withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Overrides:
FeatureProperties.withProperties(Map<String,String> properties)Parameters:
withTags
public FeatureProperties withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Overrides:
FeatureProperties.withTags(Map<String,String> tags)Parameters: