Class AlignPolicy
- java.lang.Object
-
- com.azure.ai.anomalydetector.models.AlignPolicy
-
public final class AlignPolicy extends Object
The AlignPolicy model.
-
-
Constructor Summary
Constructors Constructor Description AlignPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlignMode
getAlignMode()
Get the alignMode property: An optional field, indicating how we align different variables to the same time-range.FillNaMethod
getFillNaMethod()
Get the fillNaMethod property: An optional field, indicating how missing values will be filled.Float
getPaddingValue()
Get the paddingValue property: An optional field.AlignPolicy
setAlignMode(AlignMode alignMode)
Set the alignMode property: An optional field, indicating how we 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(Float paddingValue)
Set the paddingValue property: An optional field.
-
-
-
Method Detail
-
getAlignMode
public AlignMode getAlignMode()
Get the alignMode property: An optional field, indicating how we align different variables to the same time-range. Either Inner or Outer.- Returns:
- the alignMode value.
-
setAlignMode
public AlignPolicy setAlignMode(AlignMode alignMode)
Set the alignMode property: An optional field, indicating how we align different variables to the same time-range. Either Inner or Outer.- Parameters:
alignMode
- the alignMode value to set.- Returns:
- the AlignPolicy object itself.
-
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, and NotFill. Cannot be set to NotFill, when the alignMode is Outer.- Returns:
- the fillNaMethod value.
-
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, and NotFill. Cannot be set to NotFill, when the alignMode is Outer.- Parameters:
fillNaMethod
- the fillNaMethod value to set.- Returns:
- the AlignPolicy object itself.
-
getPaddingValue
public Float getPaddingValue()
Get the paddingValue property: An optional field. Required when fillNAMethod is Fixed.- Returns:
- the paddingValue value.
-
setPaddingValue
public AlignPolicy setPaddingValue(Float 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.
-
-