AbnormalTimePeriod Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AbnormalTimePeriod
- com.
Implements
public final class AbnormalTimePeriod
implements JsonSerializable<AbnormalTimePeriod>
Class representing Abnormal Time Period identified in diagnosis.
Constructor Summary
Constructor | Description |
---|---|
AbnormalTimePeriod() |
Creates an instance of Abnormal |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
endTime()
Get the end |
List<Detector |
events()
Get the events property: List of Possible Cause of downtime. |
static
Abnormal |
fromJson(JsonReader jsonReader)
Reads an instance of Abnormal |
List<Solution> |
solutions()
Get the solutions property: List of proposed solutions. |
Offset |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Abnormal |
withEndTime(OffsetDateTime endTime)
Set the end |
Abnormal |
withEvents(List<DetectorAbnormalTimePeriod> events)
Set the events property: List of Possible Cause of downtime. |
Abnormal |
withSolutions(List<Solution> solutions)
Set the solutions property: List of proposed solutions. |
Abnormal |
withStartTime(OffsetDateTime startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
AbnormalTimePeriod
public AbnormalTimePeriod()
Creates an instance of AbnormalTimePeriod class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the downtime.
Returns:
events
public List
Get the events property: List of Possible Cause of downtime.
Returns:
fromJson
public static AbnormalTimePeriod fromJson(JsonReader jsonReader)
Reads an instance of AbnormalTimePeriod from the JsonReader.
Parameters:
Returns:
Throws:
solutions
public List
Get the solutions property: List of proposed solutions.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the downtime.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEndTime
public AbnormalTimePeriod withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the downtime.
Parameters:
Returns:
withEvents
public AbnormalTimePeriod withEvents(List
Set the events property: List of Possible Cause of downtime.
Parameters:
Returns:
withSolutions
public AbnormalTimePeriod withSolutions(List
Set the solutions property: List of proposed solutions.
Parameters:
Returns:
withStartTime
public AbnormalTimePeriod withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the downtime.
Parameters:
Returns:
Applies to
Azure SDK for Java