public class EventDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The application associated with the event.
|
private java.lang.String |
environmentName
The name of the environment associated with this event.
|
private java.util.Date |
eventDate
The date when the event occurred.
|
private java.lang.String |
message
The event message.
|
private java.lang.String |
requestId
The web service request ID for the activity of this event.
|
private java.lang.String |
severity
The severity level of this event.
|
private java.lang.String |
templateName
The name of the configuration associated with this event.
|
private java.lang.String |
versionLabel
The release label for the application version associated with this event.
|
Constructor and Description |
---|
EventDescription() |
Modifier and Type | Method and Description |
---|---|
EventDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The application associated with the event.
|
java.lang.String |
getEnvironmentName()
The name of the environment associated with this event.
|
java.util.Date |
getEventDate()
The date when the event occurred.
|
java.lang.String |
getMessage()
The event message.
|
java.lang.String |
getRequestId()
The web service request ID for the activity of this event.
|
java.lang.String |
getSeverity()
The severity level of this event.
|
java.lang.String |
getTemplateName()
The name of the configuration associated with this event.
|
java.lang.String |
getVersionLabel()
The release label for the application version associated with this event.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
The application associated with the event.
|
void |
setEnvironmentName(java.lang.String environmentName)
The name of the environment associated with this event.
|
void |
setEventDate(java.util.Date eventDate)
The date when the event occurred.
|
void |
setMessage(java.lang.String message)
The event message.
|
void |
setRequestId(java.lang.String requestId)
The web service request ID for the activity of this event.
|
void |
setSeverity(EventSeverity severity)
The severity level of this event.
|
void |
setSeverity(java.lang.String severity)
The severity level of this event.
|
void |
setTemplateName(java.lang.String templateName)
The name of the configuration associated with this event.
|
void |
setVersionLabel(java.lang.String versionLabel)
The release label for the application version associated with this event.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventDescription |
withApplicationName(java.lang.String applicationName)
The application associated with the event.
|
EventDescription |
withEnvironmentName(java.lang.String environmentName)
The name of the environment associated with this event.
|
EventDescription |
withEventDate(java.util.Date eventDate)
The date when the event occurred.
|
EventDescription |
withMessage(java.lang.String message)
The event message.
|
EventDescription |
withRequestId(java.lang.String requestId)
The web service request ID for the activity of this event.
|
EventDescription |
withSeverity(EventSeverity severity)
The severity level of this event.
|
EventDescription |
withSeverity(java.lang.String severity)
The severity level of this event.
|
EventDescription |
withTemplateName(java.lang.String templateName)
The name of the configuration associated with this event.
|
EventDescription |
withVersionLabel(java.lang.String versionLabel)
The release label for the application version associated with this event.
|
private java.util.Date eventDate
The date when the event occurred.
private java.lang.String message
The event message.
private java.lang.String applicationName
The application associated with the event.
private java.lang.String versionLabel
The release label for the application version associated with this event.
private java.lang.String templateName
The name of the configuration associated with this event.
private java.lang.String environmentName
The name of the environment associated with this event.
private java.lang.String requestId
The web service request ID for the activity of this event.
private java.lang.String severity
The severity level of this event.
public void setEventDate(java.util.Date eventDate)
The date when the event occurred.
eventDate
- The date when the event occurred.public java.util.Date getEventDate()
The date when the event occurred.
public EventDescription withEventDate(java.util.Date eventDate)
The date when the event occurred.
eventDate
- The date when the event occurred.public void setMessage(java.lang.String message)
The event message.
message
- The event message.public java.lang.String getMessage()
The event message.
public EventDescription withMessage(java.lang.String message)
The event message.
message
- The event message.public void setApplicationName(java.lang.String applicationName)
The application associated with the event.
applicationName
- The application associated with the event.public java.lang.String getApplicationName()
The application associated with the event.
public EventDescription withApplicationName(java.lang.String applicationName)
The application associated with the event.
applicationName
- The application associated with the event.public void setVersionLabel(java.lang.String versionLabel)
The release label for the application version associated with this event.
versionLabel
- The release label for the application version associated with this
event.public java.lang.String getVersionLabel()
The release label for the application version associated with this event.
public EventDescription withVersionLabel(java.lang.String versionLabel)
The release label for the application version associated with this event.
versionLabel
- The release label for the application version associated with this
event.public void setTemplateName(java.lang.String templateName)
The name of the configuration associated with this event.
templateName
- The name of the configuration associated with this event.public java.lang.String getTemplateName()
The name of the configuration associated with this event.
public EventDescription withTemplateName(java.lang.String templateName)
The name of the configuration associated with this event.
templateName
- The name of the configuration associated with this event.public void setEnvironmentName(java.lang.String environmentName)
The name of the environment associated with this event.
environmentName
- The name of the environment associated with this event.public java.lang.String getEnvironmentName()
The name of the environment associated with this event.
public EventDescription withEnvironmentName(java.lang.String environmentName)
The name of the environment associated with this event.
environmentName
- The name of the environment associated with this event.public void setRequestId(java.lang.String requestId)
The web service request ID for the activity of this event.
requestId
- The web service request ID for the activity of this event.public java.lang.String getRequestId()
The web service request ID for the activity of this event.
public EventDescription withRequestId(java.lang.String requestId)
The web service request ID for the activity of this event.
requestId
- The web service request ID for the activity of this event.public void setSeverity(java.lang.String severity)
The severity level of this event.
severity
- The severity level of this event.EventSeverity
public java.lang.String getSeverity()
The severity level of this event.
EventSeverity
public EventDescription withSeverity(java.lang.String severity)
The severity level of this event.
severity
- The severity level of this event.EventSeverity
public void setSeverity(EventSeverity severity)
The severity level of this event.
severity
- The severity level of this event.EventSeverity
public EventDescription withSeverity(EventSeverity severity)
The severity level of this event.
severity
- The severity level of this event.EventSeverity
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EventDescription clone()
clone
in class java.lang.Object