Sdílet prostřednictvím


AlignPolicy Class

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

public final class AlignPolicy

An optional field, indicating the manner to align multiple variables.

Constructor Summary

Constructor Description
AlignPolicy()

Creates an instance of AlignPolicy class.

Method Summary

Modifier and Type Method and Description
AlignMode getAlignMode()

Get the alignMode property: An optional field, indicating how to align different variables to the same time-range.

FillNAMethod getFillNAMethod()

Get the fillNAMethod property: An optional field, indicating how missing values will be filled.

Double getPaddingValue()

Get the paddingValue property: An optional field.

AlignPolicy setAlignMode(AlignMode alignMode)

Set the alignMode property: An optional field, indicating how to align different variables to the same time-range.

AlignPolicy setFillNAMethod(FillNAMethod fillNAMethod)

Set the fillNAMethod property: An optional field, indicating how missing values will be filled.

AlignPolicy setPaddingValue(Double paddingValue)

Set the paddingValue property: An optional field.

Methods inherited from java.lang.Object

Constructor Details

AlignPolicy

public AlignPolicy()

Creates an instance of AlignPolicy class.

Method Details

getAlignMode

public AlignMode getAlignMode()

Get the alignMode property: An optional field, indicating how to align different variables to the same time-range. Either Inner or Outer.

Returns:

the alignMode value.

getFillNAMethod

public FillNAMethod getFillNAMethod()

Get the fillNAMethod property: An optional field, indicating how missing values will be filled. One of Previous, Subsequent, Linear, Zero, Fixed.

Returns:

the fillNAMethod value.

getPaddingValue

public Double getPaddingValue()

Get the paddingValue property: An optional field. Required when fillNAMethod is Fixed.

Returns:

the paddingValue value.

setAlignMode

public AlignPolicy setAlignMode(AlignMode alignMode)

Set the alignMode property: An optional field, indicating how to align different variables to the same time-range. Either Inner or Outer.

Parameters:

alignMode - the alignMode value to set.

Returns:

the AlignPolicy object itself.

setFillNAMethod

public AlignPolicy setFillNAMethod(FillNAMethod fillNAMethod)

Set the fillNAMethod property: An optional field, indicating how missing values will be filled. One of Previous, Subsequent, Linear, Zero, Fixed.

Parameters:

fillNAMethod - the fillNAMethod value to set.

Returns:

the AlignPolicy object itself.

setPaddingValue

public AlignPolicy setPaddingValue(Double paddingValue)

Set the paddingValue property: An optional field. Required when fillNAMethod is Fixed.

Parameters:

paddingValue - the paddingValue value to set.

Returns:

the AlignPolicy object itself.

Applies to