Condividi tramite


AbnormalTimePeriod Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.AbnormalTimePeriod

Implements

public final class AbnormalTimePeriod
implements JsonSerializable<AbnormalTimePeriod>

Class representing Abnormal Time Period identified in diagnosis.

Method Summary

Modifier and Type Method and Description
OffsetDateTime endTime()

Get the endTime property: End time of the downtime.

List<DetectorAbnormalTimePeriod> events()

Get the events property: List of Possible Cause of downtime.

static AbnormalTimePeriod fromJson(JsonReader jsonReader)

Reads an instance of AbnormalTimePeriod from the JsonReader.

List<Solution> solutions()

Get the solutions property: List of proposed solutions.

OffsetDateTime startTime()

Get the startTime property: Start time of the downtime.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

endTime

public OffsetDateTime endTime()

Get the endTime property: End time of the downtime.

Returns:

the endTime value.

events

public List<DetectorAbnormalTimePeriod> events()

Get the events property: List of Possible Cause of downtime.

Returns:

the events value.

fromJson

public static AbnormalTimePeriod fromJson(JsonReader jsonReader)

Reads an instance of AbnormalTimePeriod from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AbnormalTimePeriod if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AbnormalTimePeriod.

solutions

public List<Solution> solutions()

Get the solutions property: List of proposed solutions.

Returns:

the solutions value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time of the downtime.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to