Class DetectionRequest
- java.lang.Object
-
- com.azure.ai.anomalydetector.models.DetectionRequest
-
public final class DetectionRequest extends Object
Detection request.
-
-
Constructor Summary
Constructors Constructor Description DetectionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getEndTime()
Get the endTime property: A required field, indicating the end time of data for detection.String
getSource()
Get the source property: Source link to the input variables.OffsetDateTime
getStartTime()
Get the startTime property: A required field, indicating the start time of data for detection.DetectionRequest
setEndTime(OffsetDateTime endTime)
Set the endTime property: A required field, indicating the end time of data for detection.DetectionRequest
setSource(String source)
Set the source property: Source link to the input variables.DetectionRequest
setStartTime(OffsetDateTime startTime)
Set the startTime property: A required field, indicating the start time of data for detection.
-
-
-
Method Detail
-
getSource
public String getSource()
Get the source property: Source link to the input variables. Each variable should be a csv with two columns, `timestamp` and `value`. The file name of the variable will be used as its name. The variables used in detection should be exactly the same with those used in the training phase.- Returns:
- the source value.
-
setSource
public DetectionRequest setSource(String source)
Set the source property: Source link to the input variables. Each variable should be a csv with two columns, `timestamp` and `value`. The file name of the variable will be used as its name. The variables used in detection should be exactly the same with those used in the training phase.- Parameters:
source
- the source value to set.- Returns:
- the DetectionRequest object itself.
-
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: A required field, indicating the start time of data for detection. Should be date-time.- Returns:
- the startTime value.
-
setStartTime
public DetectionRequest setStartTime(OffsetDateTime startTime)
Set the startTime property: A required field, indicating the start time of data for detection. Should be date-time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the DetectionRequest object itself.
-
getEndTime
public OffsetDateTime getEndTime()
Get the endTime property: A required field, indicating the end time of data for detection. Should be date-time.- Returns:
- the endTime value.
-
setEndTime
public DetectionRequest setEndTime(OffsetDateTime endTime)
Set the endTime property: A required field, indicating the end time of data for detection. Should be date-time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the DetectionRequest object itself.
-
-