public final class Status extends Object
| Constructor and Description |
|---|
Status() |
| Modifier and Type | Method and Description |
|---|---|
String |
message()
Get the message property: Descriptive message.
|
InsightStatus |
statusId()
Get the statusId property: Level of the most severe insight generated by the detector.
|
void |
validate()
Validates the instance.
|
Status |
withMessage(String message)
Set the message property: Descriptive message.
|
Status |
withStatusId(InsightStatus statusId)
Set the statusId property: Level of the most severe insight generated by the detector.
|
public String message()
public Status withMessage(String message)
message - the message value to set.public InsightStatus statusId()
public Status withStatusId(InsightStatus statusId)
statusId - the statusId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.