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 EventDescriptionclone()booleanequals(Object obj)StringgetApplicationName()The application associated with the event.StringgetEnvironmentName()The name of the environment associated with this event.DategetEventDate()The date when the event occurred.StringgetMessage()The event message.StringgetRequestId()The web service request ID for the activity of this event.StringgetSeverity()The severity level of this event.StringgetTemplateName()The name of the configuration associated with this event.StringgetVersionLabel()The release label for the application version associated with this event.inthashCode()voidsetApplicationName(String applicationName)The application associated with the event.voidsetEnvironmentName(String environmentName)The name of the environment associated with this event.voidsetEventDate(Date eventDate)The date when the event occurred.voidsetMessage(String message)The event message.voidsetRequestId(String requestId)The web service request ID for the activity of this event.voidsetSeverity(EventSeverity severity)The severity level of this event.voidsetSeverity(String severity)The severity level of this event.voidsetTemplateName(String templateName)The name of the configuration associated with this event.voidsetVersionLabel(String versionLabel)The release label for the application version associated with this event.StringtoString()Returns a string representation of this object; useful for testing and debugging.EventDescriptionwithApplicationName(String applicationName)The application associated with the event.EventDescriptionwithEnvironmentName(String environmentName)The name of the environment associated with this event.EventDescriptionwithEventDate(Date eventDate)The date when the event occurred.EventDescriptionwithMessage(String message)The event message.EventDescriptionwithRequestId(String requestId)The web service request ID for the activity of this event.EventDescriptionwithSeverity(EventSeverity severity)The severity level of this event.EventDescriptionwithSeverity(String severity)The severity level of this event.EventDescriptionwithTemplateName(String templateName)The name of the configuration associated with this event.EventDescriptionwithVersionLabel(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EventDescription clone()
-
-