VariableState Class

  • java.lang.Object
    • com.azure.ai.anomalydetector.models.VariableState

public final class VariableState

Variable Status.

Constructor Summary

Constructor Description
VariableState()

Creates an instance of VariableState class.

Method Summary

Modifier and Type Method and Description
Integer getEffectiveCount()

Get the effectiveCount property: Number of effective data points before applying fillNAMethod.

Double getFilledNARatio()

Get the filledNARatio property: Proportion of missing values that need to be filled by fillNAMethod.

OffsetDateTime getFirstTimestamp()

Get the firstTimestamp property: First valid timestamp with value of input data.

OffsetDateTime getLastTimestamp()

Get the lastTimestamp property: Last valid timestamp with value of input data.

String getVariable()

Get the variable property: Variable name in variable states.

VariableState setEffectiveCount(Integer effectiveCount)

Set the effectiveCount property: Number of effective data points before applying fillNAMethod.

VariableState setFilledNARatio(Double filledNARatio)

Set the filledNARatio property: Proportion of missing values that need to be filled by fillNAMethod.

VariableState setFirstTimestamp(OffsetDateTime firstTimestamp)

Set the firstTimestamp property: First valid timestamp with value of input data.

VariableState setLastTimestamp(OffsetDateTime lastTimestamp)

Set the lastTimestamp property: Last valid timestamp with value of input data.

VariableState setVariable(String variable)

Set the variable property: Variable name in variable states.

Methods inherited from java.lang.Object

Constructor Details

VariableState

public VariableState()

Creates an instance of VariableState class.

Method Details

getEffectiveCount

public Integer getEffectiveCount()

Get the effectiveCount property: Number of effective data points before applying fillNAMethod.

Returns:

the effectiveCount value.

getFilledNARatio

public Double getFilledNARatio()

Get the filledNARatio property: Proportion of missing values that need to be filled by fillNAMethod.

Returns:

the filledNARatio value.

getFirstTimestamp

public OffsetDateTime getFirstTimestamp()

Get the firstTimestamp property: First valid timestamp with value of input data.

Returns:

the firstTimestamp value.

getLastTimestamp

public OffsetDateTime getLastTimestamp()

Get the lastTimestamp property: Last valid timestamp with value of input data.

Returns:

the lastTimestamp value.

getVariable

public String getVariable()

Get the variable property: Variable name in variable states.

Returns:

the variable value.

setEffectiveCount

public VariableState setEffectiveCount(Integer effectiveCount)

Set the effectiveCount property: Number of effective data points before applying fillNAMethod.

Parameters:

effectiveCount - the effectiveCount value to set.

Returns:

the VariableState object itself.

setFilledNARatio

public VariableState setFilledNARatio(Double filledNARatio)

Set the filledNARatio property: Proportion of missing values that need to be filled by fillNAMethod.

Parameters:

filledNARatio - the filledNARatio value to set.

Returns:

the VariableState object itself.

setFirstTimestamp

public VariableState setFirstTimestamp(OffsetDateTime firstTimestamp)

Set the firstTimestamp property: First valid timestamp with value of input data.

Parameters:

firstTimestamp - the firstTimestamp value to set.

Returns:

the VariableState object itself.

setLastTimestamp

public VariableState setLastTimestamp(OffsetDateTime lastTimestamp)

Set the lastTimestamp property: Last valid timestamp with value of input data.

Parameters:

lastTimestamp - the lastTimestamp value to set.

Returns:

the VariableState object itself.

setVariable

public VariableState setVariable(String variable)

Set the variable property: Variable name in variable states.

Parameters:

variable - the variable value to set.

Returns:

the VariableState object itself.

Applies to