Class Status
java.lang.Object
com.azure.resourcemanager.appservice.models.Status
Identify the status of the most severe insight generated by the detector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: Descriptive message.statusId()
Get the statusId property: Level of the most severe insight generated by the detector.void
validate()
Validates the instance.withMessage
(String message) Set the message property: Descriptive message.withStatusId
(InsightStatus statusId) Set the statusId property: Level of the most severe insight generated by the detector.
-
Constructor Details
-
Status
public Status()
-
-
Method Details
-
message
Get the message property: Descriptive message.- Returns:
- the message value.
-
withMessage
Set the message property: Descriptive message.- Parameters:
message
- the message value to set.- Returns:
- the Status object itself.
-
statusId
Get the statusId property: Level of the most severe insight generated by the detector.- Returns:
- the statusId value.
-
withStatusId
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.
-