Class EventRestEntry
- java.lang.Object
-
- de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.model.EventRestEntry
-
public class EventRestEntry extends Object
Single Event that is returned in the Event Feed Query
-
-
Constructor Summary
Constructors Constructor Description EventRestEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventRestEntry
addTagsItem(TagInfo tagsItem)
EventRestEntry
endTime(Long endTime)
EventRestEntry
entityId(String entityId)
EventRestEntry
entityName(String entityName)
EventRestEntry
eventStatus(StatusEnum eventStatus)
EventRestEntry
eventType(EventTypeEnum eventType)
Long
getEndTime()
Timestamp when the event was closedString
getEntityId()
The ID of the affected Dynatrace entity.String
getEntityName()
The name of the affected Dynatrace entity.StatusEnum
getEventStatus()
Specifies the event stateEventTypeEnum
getEventType()
The type of the event.String
getId()
Encoded Event identifierImpactLevelEnum
getImpactLevel()
The impact level of the event.SeverityLevelEnum
getSeverityLevel()
The severity of the event.Long
getStartTime()
Timestamp when the event was detectedList<TagInfo>
getTags()
Collects all the tags associated with the monitored entity that raises the eventEventRestEntry
id(String id)
EventRestEntry
impactLevel(ImpactLevelEnum impactLevel)
void
setEndTime(Long endTime)
void
setEntityId(String entityId)
void
setEntityName(String entityName)
void
setEventStatus(StatusEnum eventStatus)
void
setEventType(EventTypeEnum eventType)
void
setId(String id)
void
setImpactLevel(ImpactLevelEnum impactLevel)
void
setSeverityLevel(SeverityLevelEnum severityLevel)
void
setStartTime(Long startTime)
void
setTags(List<TagInfo> tags)
EventRestEntry
severityLevel(SeverityLevelEnum severityLevel)
EventRestEntry
startTime(Long startTime)
EventRestEntry
tags(List<TagInfo> tags)
String
toString()
-
-
-
Method Detail
-
startTime
public EventRestEntry startTime(Long startTime)
-
getStartTime
public Long getStartTime()
Timestamp when the event was detected- Returns:
- startTime
-
setStartTime
public void setStartTime(Long startTime)
-
endTime
public EventRestEntry endTime(Long endTime)
-
getEndTime
public Long getEndTime()
Timestamp when the event was closed- Returns:
- endTime
-
setEndTime
public void setEndTime(Long endTime)
-
entityId
public EventRestEntry entityId(String entityId)
-
getEntityId
public String getEntityId()
The ID of the affected Dynatrace entity. You can find the ID in the URL of the corresponding Dynatrace entity page, for example, `HOST-007`.- Returns:
- entityId
-
setEntityId
public void setEntityId(String entityId)
-
entityName
public EventRestEntry entityName(String entityName)
-
getEntityName
public String getEntityName()
The name of the affected Dynatrace entity.- Returns:
- entityName
-
setEntityName
public void setEntityName(String entityName)
-
severityLevel
public EventRestEntry severityLevel(SeverityLevelEnum severityLevel)
-
getSeverityLevel
public SeverityLevelEnum getSeverityLevel()
The severity of the event.- Returns:
- severityLevel
-
setSeverityLevel
public void setSeverityLevel(SeverityLevelEnum severityLevel)
-
impactLevel
public EventRestEntry impactLevel(ImpactLevelEnum impactLevel)
-
getImpactLevel
public ImpactLevelEnum getImpactLevel()
The impact level of the event.- Returns:
- impactLevel
-
setImpactLevel
public void setImpactLevel(ImpactLevelEnum impactLevel)
-
eventType
public EventRestEntry eventType(EventTypeEnum eventType)
-
getEventType
public EventTypeEnum getEventType()
The type of the event.- Returns:
- eventType
-
setEventType
public void setEventType(EventTypeEnum eventType)
-
eventStatus
public EventRestEntry eventStatus(StatusEnum eventStatus)
-
getEventStatus
public StatusEnum getEventStatus()
Specifies the event state- Returns:
- eventStatus
-
setEventStatus
public void setEventStatus(StatusEnum eventStatus)
-
tags
public EventRestEntry tags(List<TagInfo> tags)
-
addTagsItem
public EventRestEntry addTagsItem(TagInfo tagsItem)
-
getTags
public List<TagInfo> getTags()
Collects all the tags associated with the monitored entity that raises the event- Returns:
- tags
-
id
public EventRestEntry id(String id)
-
getId
public String getId()
Encoded Event identifier- Returns:
- id
-
setId
public void setId(String id)
-
-