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
  • Constructor Details

  • Method Details

    • 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)
    • getDescription

      @Nullable public String getDescription()
      Returns:
      the description of the event
    • getCreated

      @Nullable public Date getCreated()
      Returns:
      the date the event was created
    • getDomain

      @Nullable public String getDomain()
      Returns:
      the name of the account's domain
    • getDomainId

      @Nullable public String getDomainId()
      Returns:
      the id of the account's domain
    • getLevel

      @Nullable public String getLevel()
      Returns:
      the event level (INFO, WARN, ERROR)
    • getParentId

      @Nullable public String getParentId()
      Returns:
      whether the event is parented
    • getState

      @Nullable public String getState()
      Returns:
      the state of the event
    • getType

      @Nullable public String getType()
      Returns:
      the type of the event (see event types)
    • 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)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(Event other)
      Specified by:
      compareTo in interface Comparable<Event>