Class Status
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.Status
-
public final class Status extends Object
Identify the status of the most severe insight generated by the detector.
-
-
Constructor Summary
Constructors Constructor Description Status()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmessage()Get the message property: Descriptive message.InsightStatusstatusId()Get the statusId property: Level of the most severe insight generated by the detector.voidvalidate()Validates the instance.StatuswithMessage(String message)Set the message property: Descriptive message.StatuswithStatusId(InsightStatus statusId)Set the statusId property: Level of the most severe insight generated by the detector.
-
-
-
Method Detail
-
message
public String message()
Get the message property: Descriptive message.- Returns:
- the message value.
-
withMessage
public Status withMessage(String message)
Set the message property: Descriptive message.- Parameters:
message- the message value to set.- Returns:
- the Status object itself.
-
statusId
public InsightStatus statusId()
Get the statusId property: Level of the most severe insight generated by the detector.- Returns:
- the statusId value.
-
withStatusId
public Status withStatusId(InsightStatus statusId)
Set the statusId property: Level of the most severe insight generated by the detector.- Parameters:
statusId- the statusId value to set.- Returns:
- the Status object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-