Package org.jclouds.cloudstack.domain
Class Event
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Event
-
- All Implemented Interfaces:
Comparable<Event>
public class Event extends Object implements Comparable<Event>
Class Event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent.Builder<T extends Event.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Event.Builder<?>builder()intcompareTo(Event other)booleanequals(Object obj)StringgetAccount()DategetCreated()StringgetDescription()StringgetDomain()StringgetDomainId()StringgetId()StringgetLevel()StringgetParentId()StringgetState()StringgetType()StringgetUsername()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()Event.Builder<?>toBuilder()StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
builder
public static Event.Builder<?> builder()
-
toBuilder
public Event.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- the ID of the event
-
getAccount
@Nullable public String 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)
-
getUsername
@Nullable public String 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)
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(Event other)
- Specified by:
compareToin interfaceComparable<Event>
-
-