FeatureWindow Class

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

Implements

public final class FeatureWindow
implements JsonSerializable<FeatureWindow>

Specifies the feature window.

Constructor Summary

Constructor Description
FeatureWindow()

Creates an instance of FeatureWindow class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime featureWindowEnd()

Get the featureWindowEnd property: Specifies the feature window end time.

OffsetDateTime featureWindowStart()

Get the featureWindowStart property: Specifies the feature window start time.

static FeatureWindow fromJson(JsonReader jsonReader)

Reads an instance of FeatureWindow from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FeatureWindow withFeatureWindowEnd(OffsetDateTime featureWindowEnd)

Set the featureWindowEnd property: Specifies the feature window end time.

FeatureWindow withFeatureWindowStart(OffsetDateTime featureWindowStart)

Set the featureWindowStart property: Specifies the feature window start time.

Methods inherited from java.lang.Object

Constructor Details

FeatureWindow

public FeatureWindow()

Creates an instance of FeatureWindow class.

Method Details

featureWindowEnd

public OffsetDateTime featureWindowEnd()

Get the featureWindowEnd property: Specifies the feature window end time.

Returns:

the featureWindowEnd value.

featureWindowStart

public OffsetDateTime featureWindowStart()

Get the featureWindowStart property: Specifies the feature window start time.

Returns:

the featureWindowStart value.

fromJson

public static FeatureWindow fromJson(JsonReader jsonReader)

Reads an instance of FeatureWindow from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FeatureWindow 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 FeatureWindow.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFeatureWindowEnd

public FeatureWindow withFeatureWindowEnd(OffsetDateTime featureWindowEnd)

Set the featureWindowEnd property: Specifies the feature window end time.

Parameters:

featureWindowEnd - the featureWindowEnd value to set.

Returns:

the FeatureWindow object itself.

withFeatureWindowStart

public FeatureWindow withFeatureWindowStart(OffsetDateTime featureWindowStart)

Set the featureWindowStart property: Specifies the feature window start time.

Parameters:

featureWindowStart - the featureWindowStart value to set.

Returns:

the FeatureWindow object itself.

Applies to