Package org.jclouds.cloudstack.domain
Class Event
java.lang.Object
org.jclouds.cloudstack.domain.Event
- All Implemented Interfaces:
Comparable<Event>
Class Event
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Event
@ConstructorProperties({"id","account","description","created","domain","domainId","level","parentId","state","type","username"}) protected Event(String id, @Nullable String account, @Nullable String description, @Nullable Date created, @Nullable String domain, @Nullable String domainId, @Nullable String level, @Nullable String parentId, @Nullable String state, @Nullable String type, @Nullable String username)
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- the ID of the event
-
getAccount
- Returns:
- the account name for the account that owns the object being acted on in the event (e.g. the owner of the virtual machine, ip address, or security group)
-
getDescription
- Returns:
- the description of the event
-
getCreated
- Returns:
- the date the event was created
-
getDomain
- Returns:
- the name of the account's domain
-
getDomainId
- Returns:
- the id of the account's domain
-
getLevel
- Returns:
- the event level (INFO, WARN, ERROR)
-
getParentId
- Returns:
- whether the event is parented
-
getState
- Returns:
- the state of the event
-
getType
- Returns:
- the type of the event (see event types)
-
getUsername
- Returns:
- the name of the user who performed the action (can be different from the account if an admin is performing an action for a user, e.g. starting/stopping a user's virtual machine)
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Event>
-