org.jclouds.cloudstack.domain
Class VMGroup
java.lang.Object
org.jclouds.cloudstack.domain.VMGroup
- All Implemented Interfaces:
- Comparable<VMGroup>
public class VMGroup
- extends Object
- implements Comparable<VMGroup>
- Author:
- Richard Downer
VMGroup
public VMGroup(long id,
String account,
Date created,
String domain,
long domainId,
String name)
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.