|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticache.model.Event
public class Event
An event represents something interesting that has happened in the system.
Constructor Summary | |
---|---|
Event()
Default constructor for a new Event object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Date |
getDate()
Specifies the date and time of the event. |
String |
getMessage()
Provides the text of this event. |
String |
getSourceIdentifier()
Provides the identifier for the source of the event. |
String |
getSourceType()
Specifies the source type for this event. |
int |
hashCode()
|
void |
setDate(Date date)
Specifies the date and time of the event. |
void |
setMessage(String message)
Provides the text of this event. |
void |
setSourceIdentifier(String sourceIdentifier)
Provides the identifier for the source of the event. |
void |
setSourceType(SourceType sourceType)
Specifies the source type for this event. |
void |
setSourceType(String sourceType)
Specifies the source type for this event. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Event |
withDate(Date date)
Specifies the date and time of the event. |
Event |
withMessage(String message)
Provides the text of this event. |
Event |
withSourceIdentifier(String sourceIdentifier)
Provides the identifier for the source of the event. |
Event |
withSourceType(SourceType sourceType)
Specifies the source type for this event. |
Event |
withSourceType(String sourceType)
Specifies the source type for this event. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Event()
Method Detail |
---|
public String getSourceIdentifier()
public void setSourceIdentifier(String sourceIdentifier)
sourceIdentifier
- Provides the identifier for the source of the event.public Event withSourceIdentifier(String sourceIdentifier)
Returns a reference to this object so that method calls can be chained together.
sourceIdentifier
- Provides the identifier for the source of the event.
public String getSourceType()
Constraints:
Allowed Values: cache-cluster, cache-parameter-group, cache-security-group
SourceType
public void setSourceType(String sourceType)
Constraints:
Allowed Values: cache-cluster, cache-parameter-group, cache-security-group
sourceType
- Specifies the source type for this event.SourceType
public Event withSourceType(String sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cache-cluster, cache-parameter-group, cache-security-group
sourceType
- Specifies the source type for this event.
SourceType
public void setSourceType(SourceType sourceType)
Constraints:
Allowed Values: cache-cluster, cache-parameter-group, cache-security-group
sourceType
- Specifies the source type for this event.SourceType
public Event withSourceType(SourceType sourceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: cache-cluster, cache-parameter-group, cache-security-group
sourceType
- Specifies the source type for this event.
SourceType
public String getMessage()
public void setMessage(String message)
message
- Provides the text of this event.public Event withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- Provides the text of this event.
public Date getDate()
public void setDate(Date date)
date
- Specifies the date and time of the event.public Event withDate(Date date)
Returns a reference to this object so that method calls can be chained together.
date
- Specifies the date and time of the event.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |