org.jclouds.cloudstack.domain
Class VMGroup

java.lang.Object
  extended by org.jclouds.cloudstack.domain.VMGroup
All Implemented Interfaces:
Comparable<VMGroup>

public class VMGroup
extends Object
implements Comparable<VMGroup>

Author:
Richard Downer

Nested Class Summary
static class VMGroup.Builder
           
 
Constructor Summary
VMGroup(long id, String account, Date created, String domain, long domainId, String name)
           
 
Method Summary
static VMGroup.Builder builder()
           
 int compareTo(VMGroup vmGroup)
           
 boolean equals(Object o)
           
 String getAccount()
           
 Date getCreated()
           
 String getDomain()
           
 long getDomainId()
           
 long getId()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VMGroup

public VMGroup(long id,
               String account,
               Date created,
               String domain,
               long domainId,
               String name)
Method Detail

builder

public static VMGroup.Builder builder()

getId

public long getId()
Returns:
the VMGroup's ID

getAccount

public String getAccount()
Returns:
the account that owns the VMGroup

getCreated

public Date getCreated()
Returns:
the VMGroup's creation timestamp

getDomain

public String getDomain()
Returns:
the domain that contains the VMGroup

getDomainId

public long getDomainId()
Returns:
the ID of the domain that contains the VMGroup

getName

public String getName()
Returns:
the name of the VMGroup

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(VMGroup vmGroup)
Specified by:
compareTo in interface Comparable<VMGroup>


Copyright © 2009-2012 jclouds. All Rights Reserved.