org.jclouds.cloudstack.domain
Class Event.Builder<T extends Event.Builder<T>>

java.lang.Object
  extended by org.jclouds.cloudstack.domain.Event.Builder<T>
Enclosing class:
Event

public abstract static class Event.Builder<T extends Event.Builder<T>>
extends Object


Field Summary
protected  String account
           
protected  Date created
           
protected  String description
           
protected  String domain
           
protected  String domainId
           
protected  String id
           
protected  String level
           
protected  String parentId
           
protected  String state
           
protected  String type
           
protected  String username
           
 
Constructor Summary
Event.Builder()
           
 
Method Summary
 T account(String account)
           
 Event build()
           
 T created(Date created)
           
 T description(String description)
           
 T domain(String domain)
           
 T domainId(String domainId)
           
 T fromEvent(Event in)
           
 T id(String id)
           
 T level(String level)
           
 T parentId(String parentId)
           
protected abstract  T self()
           
 T state(String state)
           
 T type(String type)
           
 T username(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

account

protected String account

description

protected String description

created

protected Date created

domain

protected String domain

domainId

protected String domainId

level

protected String level

parentId

protected String parentId

state

protected String state

type

protected String type

username

protected String username
Constructor Detail

Event.Builder

public Event.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
Event.getId()

account

public T account(String account)
See Also:
Event.getAccount()

description

public T description(String description)
See Also:
Event.getDescription()

created

public T created(Date created)
See Also:
Event.getCreated()

domain

public T domain(String domain)
See Also:
Event.getDomain()

domainId

public T domainId(String domainId)
See Also:
Event.getDomainId()

level

public T level(String level)
See Also:
Event.getLevel()

parentId

public T parentId(String parentId)
See Also:
Event.getParentId()

state

public T state(String state)
See Also:
Event.getState()

type

public T type(String type)
See Also:
Event.getType()

username

public T username(String username)
See Also:
Event.getUsername()

build

public Event build()

fromEvent

public T fromEvent(Event in)


Copyright © 2009-2012 jclouds. All Rights Reserved.