HealthReportStatus Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. HealthReportStatus
- com.
Implements
public final class HealthReportStatus
implements JsonSerializable<HealthReportStatus>
The status of the health report.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Status |
code()
Get the code property: The status of the health report. |
|
Offset |
firstEvaluationDate()
Get the first |
|
static
Health |
fromJson(JsonReader jsonReader)
Reads an instance of Health |
|
Offset |
lastScannedDate()
Get the last |
| String |
reason()
Get the reason property: The reason of the given status. |
|
Offset |
statusChangeDate()
Get the status |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
code
public StatusName code()
Get the code property: The status of the health report.
Returns:
firstEvaluationDate
public OffsetDateTime firstEvaluationDate()
Get the firstEvaluationDate property: The date of when the resource of the health report was scanned in the first time.
Returns:
fromJson
public static HealthReportStatus fromJson(JsonReader jsonReader)
Reads an instance of HealthReportStatus from the JsonReader.
Parameters:
Returns:
Throws:
lastScannedDate
public OffsetDateTime lastScannedDate()
Get the lastScannedDate property: The date of when the resource was scanned in the last time.
Returns:
reason
public String reason()
Get the reason property: The reason of the given status.
Returns:
statusChangeDate
public OffsetDateTime statusChangeDate()
Get the statusChangeDate property: The date of when the status of the health report was changed in the last time.
Returns:
toJson
validate
public void validate()
Validates the instance.