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

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

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


Field Summary
protected  boolean cleanupRequired
           
protected  String domain
           
protected  String domainId
           
protected  String id
           
protected  Long IPLimit
           
protected  long IPs
           
protected  Long IPsAvailable
           
protected  String name
           
protected  String networkDomain
           
protected  long receivedBytes
           
protected  long sentBytes
           
protected  Long snapshotLimit
           
protected  long snapshots
           
protected  Long snapshotsAvailable
           
protected  Account.State state
           
protected  Long templateLimit
           
protected  long templates
           
protected  Long templatesAvailable
           
protected  Account.Type type
           
protected  Set<User> users
           
protected  Long VMLimit
           
protected  long VMs
           
protected  Long VMsAvailable
           
protected  long VMsRunning
           
protected  long VMsStopped
           
protected  Long volumeLimit
           
protected  long volumes
           
protected  Long volumesAvailable
           
 
Constructor Summary
Account.Builder()
           
 
Method Summary
 Account build()
           
 T cleanupRequired(boolean cleanupRequired)
           
 T domain(String domain)
           
 T domainId(String domainId)
           
 T fromAccount(Account in)
           
 T id(String id)
           
 T IPLimit(Long IPLimit)
           
 T IPs(long IPs)
           
 T IPsAvailable(Long IPsAvailable)
           
 T name(String name)
           
 T networkDomain(String networkDomain)
           
 T receivedBytes(long receivedBytes)
           
protected abstract  T self()
           
 T sentBytes(long sentBytes)
           
 T snapshotLimit(Long snapshotLimit)
           
 T snapshots(long snapshots)
           
 T snapshotsAvailable(Long snapshotsAvailable)
           
 T state(Account.State state)
           
 T templateLimit(Long templateLimit)
           
 T templates(long templates)
           
 T templatesAvailable(Long templatesAvailable)
           
 T type(Account.Type type)
           
 T users(Set<User> users)
           
 T users(User... in)
           
 T VMLimit(Long VMLimit)
           
 T VMs(long VMs)
           
 T VMsAvailable(Long VMsAvailable)
           
 T VMsRunning(long VMsRunning)
           
 T VMsStopped(long VMsStopped)
           
 T volumeLimit(Long volumeLimit)
           
 T volumes(long volumes)
           
 T volumesAvailable(Long volumesAvailable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

type

protected Account.Type type

networkDomain

protected String networkDomain

domain

protected String domain

domainId

protected String domainId

IPsAvailable

protected Long IPsAvailable

IPLimit

protected Long IPLimit

IPs

protected long IPs

cleanupRequired

protected boolean cleanupRequired

name

protected String name

receivedBytes

protected long receivedBytes

sentBytes

protected long sentBytes

snapshotsAvailable

protected Long snapshotsAvailable

snapshotLimit

protected Long snapshotLimit

snapshots

protected long snapshots

state

protected Account.State state

templatesAvailable

protected Long templatesAvailable

templateLimit

protected Long templateLimit

templates

protected long templates

VMsAvailable

protected Long VMsAvailable

VMLimit

protected Long VMLimit

VMsRunning

protected long VMsRunning

VMsStopped

protected long VMsStopped

VMs

protected long VMs

volumesAvailable

protected Long volumesAvailable

volumeLimit

protected Long volumeLimit

volumes

protected long volumes

users

protected Set<User> users
Constructor Detail

Account.Builder

public Account.Builder()
Method Detail

self

protected abstract T self()

id

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

type

public T type(Account.Type type)
See Also:
Account.getType()

networkDomain

public T networkDomain(String networkDomain)
See Also:
Account.getNetworkDomain()

domain

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

domainId

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

IPsAvailable

public T IPsAvailable(Long IPsAvailable)
See Also:
Account.getIPsAvailable()

IPLimit

public T IPLimit(Long IPLimit)
See Also:
Account.getIPLimit()

IPs

public T IPs(long IPs)
See Also:
Account.getIPs()

cleanupRequired

public T cleanupRequired(boolean cleanupRequired)
See Also:
Account.isCleanupRequired()

name

public T name(String name)
See Also:
Account.getName()

receivedBytes

public T receivedBytes(long receivedBytes)
See Also:
Account.getReceivedBytes()

sentBytes

public T sentBytes(long sentBytes)
See Also:
Account.getSentBytes()

snapshotsAvailable

public T snapshotsAvailable(Long snapshotsAvailable)
See Also:
Account.getSnapshotsAvailable()

snapshotLimit

public T snapshotLimit(Long snapshotLimit)
See Also:
Account.getSnapshotLimit()

snapshots

public T snapshots(long snapshots)
See Also:
Account.getSnapshots()

state

public T state(Account.State state)
See Also:
Account.getState()

templatesAvailable

public T templatesAvailable(Long templatesAvailable)
See Also:
Account.getTemplatesAvailable()

templateLimit

public T templateLimit(Long templateLimit)
See Also:
Account.getTemplateLimit()

templates

public T templates(long templates)
See Also:
Account.getTemplates()

VMsAvailable

public T VMsAvailable(Long VMsAvailable)
See Also:
Account.getVMsAvailable()

VMLimit

public T VMLimit(Long VMLimit)
See Also:
Account.getVMLimit()

VMsRunning

public T VMsRunning(long VMsRunning)
See Also:
Account.getVMsRunning()

VMsStopped

public T VMsStopped(long VMsStopped)
See Also:
Account.getVMsStopped()

VMs

public T VMs(long VMs)
See Also:
Account.getVMs()

volumesAvailable

public T volumesAvailable(Long volumesAvailable)
See Also:
Account.getVolumesAvailable()

volumeLimit

public T volumeLimit(Long volumeLimit)
See Also:
Account.getVolumeLimit()

volumes

public T volumes(long volumes)
See Also:
Account.getVolumes()

users

public T users(Set<User> users)
See Also:
Account.getUsers()

users

public T users(User... in)

build

public Account build()

fromAccount

public T fromAccount(Account in)


Copyright © 2009-2012 jclouds. All Rights Reserved.