DetectorAbnormalTimePeriod Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. DetectorAbnormalTimePeriod
- com.
Implements
public final class DetectorAbnormalTimePeriod
implements JsonSerializable<DetectorAbnormalTimePeriod>
Class representing Abnormal Time Period detected.
Constructor Summary
Constructor | Description |
---|---|
DetectorAbnormalTimePeriod() |
Creates an instance of Detector |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
endTime()
Get the end |
static
Detector |
fromJson(JsonReader jsonReader)
Reads an instance of Detector |
String |
message()
Get the message property: Message describing the event. |
List<List<Name |
metadata()
Get the metadata property: Downtime metadata. |
Double |
priority()
Get the priority property: Represents the rank of the Detector. |
List<Solution> |
solutions()
Get the solutions property: List of proposed solutions. |
String |
source()
Get the source property: Represents the name of the Detector. |
Offset |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
Issue |
type()
Get the type property: Represents the type of the Detector. |
void |
validate()
Validates the instance. |
Detector |
withEndTime(OffsetDateTime endTime)
Set the end |
Detector |
withMessage(String message)
Set the message property: Message describing the event. |
Detector |
withMetadata(List<List<NameValuePair>> metadata)
Set the metadata property: Downtime metadata. |
Detector |
withPriority(Double priority)
Set the priority property: Represents the rank of the Detector. |
Detector |
withSolutions(List<Solution> solutions)
Set the solutions property: List of proposed solutions. |
Detector |
withSource(String source)
Set the source property: Represents the name of the Detector. |
Detector |
withStartTime(OffsetDateTime startTime)
Set the start |
Detector |
withType(IssueType type)
Set the type property: Represents the type of the Detector. |
Methods inherited from java.lang.Object
Constructor Details
DetectorAbnormalTimePeriod
public DetectorAbnormalTimePeriod()
Creates an instance of DetectorAbnormalTimePeriod class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the correlated event.
Returns:
fromJson
public static DetectorAbnormalTimePeriod fromJson(JsonReader jsonReader)
Reads an instance of DetectorAbnormalTimePeriod from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Message describing the event.
Returns:
metadata
public List> metadata()
Get the metadata property: Downtime metadata.
Returns:
priority
public Double priority()
Get the priority property: Represents the rank of the Detector.
Returns:
solutions
public List
Get the solutions property: List of proposed solutions.
Returns:
source
public String source()
Get the source property: Represents the name of the Detector.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the correlated event.
Returns:
toJson
type
public IssueType type()
Get the type property: Represents the type of the Detector.
Returns:
validate
public void validate()
Validates the instance.
withEndTime
public DetectorAbnormalTimePeriod withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the correlated event.
Parameters:
Returns:
withMessage
public DetectorAbnormalTimePeriod withMessage(String message)
Set the message property: Message describing the event.
Parameters:
Returns:
withMetadata
public DetectorAbnormalTimePeriod withMetadata(List> metadata)
Set the metadata property: Downtime metadata.
Parameters:
Returns:
withPriority
public DetectorAbnormalTimePeriod withPriority(Double priority)
Set the priority property: Represents the rank of the Detector.
Parameters:
Returns:
withSolutions
public DetectorAbnormalTimePeriod withSolutions(List
Set the solutions property: List of proposed solutions.
Parameters:
Returns:
withSource
public DetectorAbnormalTimePeriod withSource(String source)
Set the source property: Represents the name of the Detector.
Parameters:
Returns:
withStartTime
public DetectorAbnormalTimePeriod withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the correlated event.
Parameters:
Returns:
withType
public DetectorAbnormalTimePeriod withType(IssueType type)
Set the type property: Represents the type of the Detector.
Parameters:
Returns:
Applies to
Azure SDK for Java