Class EventDescription
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.EventDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class EventDescription extends Object implements Serializable, Cloneable
Describes an event.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventDescription
clone()
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.
-
-
-
Method Detail
-
setEventDate
public void setEventDate(Date eventDate)
The date when the event occurred.
- Parameters:
eventDate
- The date when the event occurred.
-
getEventDate
public Date getEventDate()
The date when the event occurred.
- Returns:
- The date when the event occurred.
-
withEventDate
public EventDescription withEventDate(Date eventDate)
The date when the event occurred.
- Parameters:
eventDate
- The date when the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
public void setMessage(String message)
The event message.
- Parameters:
message
- The event message.
-
getMessage
public String getMessage()
The event message.
- Returns:
- The event message.
-
withMessage
public EventDescription withMessage(String message)
The event message.
- Parameters:
message
- The event message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setApplicationName
public void setApplicationName(String applicationName)
The application associated with the event.
- Parameters:
applicationName
- The application associated with the event.
-
getApplicationName
public String getApplicationName()
The application associated with the event.
- Returns:
- The application associated with the event.
-
withApplicationName
public EventDescription withApplicationName(String applicationName)
The application associated with the event.
- Parameters:
applicationName
- The application associated with the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersionLabel
public void setVersionLabel(String versionLabel)
The release label for the application version associated with this event.
- Parameters:
versionLabel
- The release label for the application version associated with this event.
-
getVersionLabel
public String getVersionLabel()
The release label for the application version associated with this event.
- Returns:
- The release label for the application version associated with this event.
-
withVersionLabel
public EventDescription withVersionLabel(String versionLabel)
The release label for the application version associated with this event.
- Parameters:
versionLabel
- The release label for the application version associated with this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTemplateName
public void setTemplateName(String templateName)
The name of the configuration associated with this event.
- Parameters:
templateName
- The name of the configuration associated with this event.
-
getTemplateName
public String getTemplateName()
The name of the configuration associated with this event.
- Returns:
- The name of the configuration associated with this event.
-
withTemplateName
public EventDescription withTemplateName(String templateName)
The name of the configuration associated with this event.
- Parameters:
templateName
- The name of the configuration associated with this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnvironmentName
public void setEnvironmentName(String environmentName)
The name of the environment associated with this event.
- Parameters:
environmentName
- The name of the environment associated with this event.
-
getEnvironmentName
public String getEnvironmentName()
The name of the environment associated with this event.
- Returns:
- The name of the environment associated with this event.
-
withEnvironmentName
public EventDescription withEnvironmentName(String environmentName)
The name of the environment associated with this event.
- Parameters:
environmentName
- The name of the environment associated with this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRequestId
public void setRequestId(String requestId)
The web service request ID for the activity of this event.
- Parameters:
requestId
- The web service request ID for the activity of this event.
-
getRequestId
public String getRequestId()
The web service request ID for the activity of this event.
- Returns:
- The web service request ID for the activity of this event.
-
withRequestId
public EventDescription withRequestId(String requestId)
The web service request ID for the activity of this event.
- Parameters:
requestId
- The web service request ID for the activity of this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSeverity
public void setSeverity(String severity)
The severity level of this event.
- Parameters:
severity
- The severity level of this event.- See Also:
EventSeverity
-
getSeverity
public String getSeverity()
The severity level of this event.
- Returns:
- The severity level of this event.
- See Also:
EventSeverity
-
withSeverity
public EventDescription withSeverity(String severity)
The severity level of this event.
- Parameters:
severity
- The severity level of this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSeverity
-
setSeverity
public void setSeverity(EventSeverity severity)
The severity level of this event.
- Parameters:
severity
- The severity level of this event.- See Also:
EventSeverity
-
withSeverity
public EventDescription withSeverity(EventSeverity severity)
The severity level of this event.
- Parameters:
severity
- The severity level of this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSeverity
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EventDescription clone()
-
-