Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class EventDescription

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.EventDescription
All Implemented Interfaces:
Serializable

public class EventDescription
extends Object
implements Serializable

Describes an event.

See Also:
Serialized Form

Constructor Summary
EventDescription()
          Default constructor for a new EventDescription object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventDescription

public EventDescription()
Default constructor for a new EventDescription object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getEventDate

public Date getEventDate()
The date when the event occurred.

Returns:
The date when the event occurred.

setEventDate

public void setEventDate(Date eventDate)
The date when the event occurred.

Parameters:
eventDate - The date when the event occurred.

withEventDate

public EventDescription withEventDate(Date eventDate)
The date when the event occurred.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventDate - The date when the event occurred.
Returns:
A reference to this updated object so that method calls can be chained together.

getMessage

public String getMessage()
The event message.

Returns:
The event message.

setMessage

public void setMessage(String message)
The event message.

Parameters:
message - The event message.

withMessage

public EventDescription withMessage(String message)
The event message.

Returns a reference to this object so that method calls can be chained together.

Parameters:
message - The event message.
Returns:
A reference to this updated object so that method calls can be chained together.

getApplicationName

public String getApplicationName()
The application associated with the event.

Constraints:
Length: 1 - 100

Returns:
The application associated with the event.

setApplicationName

public void setApplicationName(String applicationName)
The application associated with the event.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The application associated with the event.

withApplicationName

public EventDescription withApplicationName(String applicationName)
The application associated with the event.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The application associated with the event.
Returns:
A reference to this updated object so that method calls can be chained together.

getVersionLabel

public String getVersionLabel()
The release label for the application version associated with this event.

Constraints:
Length: 1 - 100

Returns:
The release label for the application version associated with this event.

setVersionLabel

public void setVersionLabel(String versionLabel)
The release label for the application version associated with this event.

Constraints:
Length: 1 - 100

Parameters:
versionLabel - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 100

Parameters:
versionLabel - The release label for the application version associated with this event.
Returns:
A reference to this updated object so that method calls can be chained together.

getTemplateName

public String getTemplateName()
The name of the configuration associated with this event.

Constraints:
Length: 1 - 100

Returns:
The name of the configuration associated with this event.

setTemplateName

public void setTemplateName(String templateName)
The name of the configuration associated with this event.

Constraints:
Length: 1 - 100

Parameters:
templateName - The name of the configuration associated with this event.

withTemplateName

public EventDescription withTemplateName(String templateName)
The name of the configuration associated with this event.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 100

Parameters:
templateName - The name of the configuration associated with this event.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnvironmentName

public String getEnvironmentName()
The name of the environment associated with this event.

Constraints:
Length: 4 - 23

Returns:
The name of the environment associated with this event.

setEnvironmentName

public void setEnvironmentName(String environmentName)
The name of the environment associated with this event.

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the environment associated with this event.

withEnvironmentName

public EventDescription withEnvironmentName(String environmentName)
The name of the environment associated with this event.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 4 - 23

Parameters:
environmentName - The name of the environment associated with this event.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withRequestId

public EventDescription withRequestId(String requestId)
The web service request ID for the activity of this event.

Returns a reference to this object so that method calls can be chained together.

Parameters:
requestId - The web service request ID for the activity of this event.
Returns:
A reference to this updated object so that method calls can be chained together.

getSeverity

public String getSeverity()
The severity level of this event.

Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL

Returns:
The severity level of this event.
See Also:
EventSeverity

setSeverity

public void setSeverity(String severity)
The severity level of this event.

Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL

Parameters:
severity - The severity level of this event.
See Also:
EventSeverity

withSeverity

public EventDescription withSeverity(String severity)
The severity level of this event.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL

Parameters:
severity - The severity level of this event.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
EventSeverity

setSeverity

public void setSeverity(EventSeverity severity)
The severity level of this event.

Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL

Parameters:
severity - The severity level of this event.
See Also:
EventSeverity

withSeverity

public EventDescription withSeverity(EventSeverity severity)
The severity level of this event.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL

Parameters:
severity - The severity level of this event.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.