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 class
Event.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()
int
compareTo(Event other)
boolean
equals(Object obj)
String
getAccount()
Date
getCreated()
String
getDescription()
String
getDomain()
String
getDomainId()
String
getId()
String
getLevel()
String
getParentId()
String
getState()
String
getType()
String
getUsername()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Event.Builder<?>
toBuilder()
String
toString()
-
-
-
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:
compareTo
in interfaceComparable<Event>
-
-