public final class DetectorAbnormalTimePeriod extends Object
| Constructor and Description |
|---|
DetectorAbnormalTimePeriod() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
endTime()
Get the endTime property: End time of the correlated event.
|
String |
message()
Get the message property: Message describing the event.
|
List<List<NameValuePair>> |
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.
|
OffsetDateTime |
startTime()
Get the startTime property: Start time of the correlated event.
|
IssueType |
type()
Get the type property: Represents the type of the Detector.
|
void |
validate()
Validates the instance.
|
DetectorAbnormalTimePeriod |
withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the correlated event.
|
DetectorAbnormalTimePeriod |
withMessage(String message)
Set the message property: Message describing the event.
|
DetectorAbnormalTimePeriod |
withMetadata(List<List<NameValuePair>> metadata)
Set the metadata property: Downtime metadata.
|
DetectorAbnormalTimePeriod |
withPriority(Double priority)
Set the priority property: Represents the rank of the Detector.
|
DetectorAbnormalTimePeriod |
withSolutions(List<Solution> solutions)
Set the solutions property: List of proposed solutions.
|
DetectorAbnormalTimePeriod |
withSource(String source)
Set the source property: Represents the name of the Detector.
|
DetectorAbnormalTimePeriod |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the correlated event.
|
DetectorAbnormalTimePeriod |
withType(IssueType type)
Set the type property: Represents the type of the Detector.
|
public OffsetDateTime startTime()
public DetectorAbnormalTimePeriod withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public DetectorAbnormalTimePeriod withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public String message()
public DetectorAbnormalTimePeriod withMessage(String message)
message - the message value to set.public String source()
public DetectorAbnormalTimePeriod withSource(String source)
source - the source value to set.public Double priority()
public DetectorAbnormalTimePeriod withPriority(Double priority)
priority - the priority value to set.public List<List<NameValuePair>> metadata()
public DetectorAbnormalTimePeriod withMetadata(List<List<NameValuePair>> metadata)
metadata - the metadata value to set.public IssueType type()
public DetectorAbnormalTimePeriod withType(IssueType type)
type - the type value to set.public List<Solution> solutions()
public DetectorAbnormalTimePeriod withSolutions(List<Solution> solutions)
solutions - the solutions 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.