org.jclouds.glesys.domain
Class ResourceUsageInfo

java.lang.Object
  extended by org.jclouds.glesys.domain.ResourceUsageInfo

public class ResourceUsageInfo
extends Object

Detailed information on usage

Author:
Adam Lowe
See Also:
ServerStatus

Nested Class Summary
static class ResourceUsageInfo.Builder<T extends ResourceUsageInfo.Builder<T>>
           
 
Constructor Summary
protected ResourceUsageInfo(String resource, String resolution, String unit)
           
 
Method Summary
static ResourceUsageInfo.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getResolution()
           
 String getResource()
           
 String getUnit()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ResourceUsageInfo.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceUsageInfo

@ConstructorProperties(value={"type","resolution","unit"})
protected ResourceUsageInfo(String resource,
                                                       String resolution,
                                                       String unit)
Method Detail

builder

public static ResourceUsageInfo.Builder<?> builder()

toBuilder

public ResourceUsageInfo.Builder<?> toBuilder()

getResource

public String getResource()

getResolution

public String getResolution()

getUnit

public String getUnit()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.