Represents a single occurrence of something interesting within the system. Some examples of events are creating a cache cluster, adding or removing a cache node, or rebooting a node.
| C# |
public class Event
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Event()()()() | Initializes a new instance of the Event class | |
| Date |
The date and time when the event occurred.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Message |
The text of the event.
| |
| SourceIdentifier |
The identifier for the source of the event. For example, if the event occurred at the cache cluster level, the identifier would be the name
of the cache cluster.
| |
| SourceType |
Specifies the origin of this event - a cache cluster, a parameter group, a security group, etc.
Constraints: | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithDate(DateTime) | Obsolete.
Sets the Date property
| |
| WithMessage(String) | Obsolete.
Sets the Message property
| |
| WithSourceIdentifier(String) | Obsolete.
Sets the SourceIdentifier property
| |
| WithSourceType(String) | Obsolete.
Sets the SourceType property
|
| Object | |
| Event | |