FeaturesetSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.FeaturesetSpecification

Implements

public final class FeaturesetSpecification
implements JsonSerializable<FeaturesetSpecification>

DTO object representing specification.

Constructor Summary

Constructor Description
FeaturesetSpecification()

Creates an instance of FeaturesetSpecification class.

Method Summary

Modifier and Type Method and Description
static FeaturesetSpecification fromJson(JsonReader jsonReader)

Reads an instance of FeaturesetSpecification from the JsonReader.

String path()

Get the path property: Specifies the spec path.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FeaturesetSpecification withPath(String path)

Set the path property: Specifies the spec path.

Methods inherited from java.lang.Object

Constructor Details

FeaturesetSpecification

public FeaturesetSpecification()

Creates an instance of FeaturesetSpecification class.

Method Details

fromJson

public static FeaturesetSpecification fromJson(JsonReader jsonReader)

Reads an instance of FeaturesetSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FeaturesetSpecification if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the FeaturesetSpecification.

path

public String path()

Get the path property: Specifies the spec path.

Returns:

the path value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPath

public FeaturesetSpecification withPath(String path)

Set the path property: Specifies the spec path.

Parameters:

path - the path value to set.

Returns:

the FeaturesetSpecification object itself.

Applies to