public class EventDescription extends Object implements Serializable
Describes an event.
| Constructor and Description | 
|---|
EventDescription()
Default constructor for a new EventDescription object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getApplicationName()
The application associated with the event. 
 | 
String | 
getEnvironmentName()
The name of the environment associated with this event. 
 | 
Date | 
getEventDate()
The date when the event occurred. 
 | 
String | 
getMessage()
The event message. 
 | 
String | 
getRequestId()
The web service request ID for the activity of this event. 
 | 
String | 
getSeverity()
The severity level of this event. 
 | 
String | 
getTemplateName()
The name of the configuration associated with this event. 
 | 
String | 
getVersionLabel()
The release label for the application version associated with this
 event. 
 | 
int | 
hashCode()  | 
void | 
setApplicationName(String applicationName)
The application associated with the event. 
 | 
void | 
setEnvironmentName(String environmentName)
The name of the environment associated with this event. 
 | 
void | 
setEventDate(Date eventDate)
The date when the event occurred. 
 | 
void | 
setMessage(String message)
The event message. 
 | 
void | 
setRequestId(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(String severity)
The severity level of this event. 
 | 
void | 
setTemplateName(String templateName)
The name of the configuration associated with this event. 
 | 
void | 
setVersionLabel(String versionLabel)
The release label for the application version associated with this
 event. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
EventDescription | 
withApplicationName(String applicationName)
The application associated with the event. 
 | 
EventDescription | 
withEnvironmentName(String environmentName)
The name of the environment associated with this event. 
 | 
EventDescription | 
withEventDate(Date eventDate)
The date when the event occurred. 
 | 
EventDescription | 
withMessage(String message)
The event message. 
 | 
EventDescription | 
withRequestId(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(String severity)
The severity level of this event. 
 | 
EventDescription | 
withTemplateName(String templateName)
The name of the configuration associated with this event. 
 | 
EventDescription | 
withVersionLabel(String versionLabel)
The release label for the application version associated with this
 event. 
 | 
public EventDescription()
public Date getEventDate()
public void setEventDate(Date eventDate)
eventDate - The date when the event occurred.public EventDescription withEventDate(Date eventDate)
Returns a reference to this object so that method calls can be chained together.
eventDate - The date when the event occurred.public String getMessage()
public void setMessage(String message)
message - The event message.public EventDescription withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message - The event message.public String getApplicationName()
 Constraints:
 Length: 1 - 100
public void setApplicationName(String applicationName)
 Constraints:
 Length: 1 - 100
applicationName - The application associated with the event.public EventDescription withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 100
applicationName - The application associated with the event.public String getVersionLabel()
 Constraints:
 Length: 1 - 100
public void setVersionLabel(String versionLabel)
 Constraints:
 Length: 1 - 100
versionLabel - The release label for the application version associated with this
         event.public EventDescription withVersionLabel(String versionLabel)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 100
versionLabel - The release label for the application version associated with this
         event.public String getTemplateName()
 Constraints:
 Length: 1 - 100
public void setTemplateName(String templateName)
 Constraints:
 Length: 1 - 100
templateName - The name of the configuration associated with this event.public EventDescription withTemplateName(String templateName)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 100
templateName - The name of the configuration associated with this event.public String getEnvironmentName()
 Constraints:
 Length: 4 - 23
public void setEnvironmentName(String environmentName)
 Constraints:
 Length: 4 - 23
environmentName - The name of the environment associated with this event.public EventDescription withEnvironmentName(String environmentName)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 4 - 23
environmentName - The name of the environment associated with this event.public String getRequestId()
public void setRequestId(String requestId)
requestId - The web service request ID for the activity of this event.public EventDescription withRequestId(String requestId)
Returns a reference to this object so that method calls can be chained together.
requestId - The web service request ID for the activity of this event.public String getSeverity()
 Constraints:
 Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
EventSeveritypublic void setSeverity(String severity)
 Constraints:
 Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
severity - The severity level of this event.EventSeveritypublic EventDescription withSeverity(String severity)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
severity - The severity level of this event.EventSeveritypublic void setSeverity(EventSeverity severity)
 Constraints:
 Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
severity - The severity level of this event.EventSeveritypublic EventDescription withSeverity(EventSeverity severity)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
severity - The severity level of this event.EventSeveritypublic String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.