org.jclouds.cloudstack.domain
Class ResourceLimit

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

public class ResourceLimit
extends Object
implements Comparable<ResourceLimit>

Author:
Vijay Kiran

Nested Class Summary
static class ResourceLimit.Builder
           
static class ResourceLimit.ResourceType
          Type of resource to update.
 
Constructor Summary
ResourceLimit(String account, String domain, long domainId, int max, ResourceLimit.ResourceType resourceType)
           
 
Method Summary
static ResourceLimit.Builder builder()
           
 int compareTo(ResourceLimit that)
           
 boolean equals(Object o)
           
 String getAccount()
           
 String getDomain()
           
 long getDomainId()
           
 int getMax()
           
 ResourceLimit.ResourceType getResourceType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceLimit

public ResourceLimit(String account,
                     String domain,
                     long domainId,
                     int max,
                     ResourceLimit.ResourceType resourceType)
Method Detail

builder

public static ResourceLimit.Builder builder()

getAccount

public String getAccount()

getDomain

public String getDomain()

getDomainId

public long getDomainId()

getMax

public int getMax()

getResourceType

public ResourceLimit.ResourceType getResourceType()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(ResourceLimit that)
Specified by:
compareTo in interface Comparable<ResourceLimit>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.