org.jclouds.glesys.domain
Class ResourceUsageValue

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

public class ResourceUsageValue
extends Object

Detailed information on usage

Author:
Adam Lowe
See Also:
ServerStatus

Nested Class Summary
static class ResourceUsageValue.Builder<T extends ResourceUsageValue.Builder<T>>
           
 
Constructor Summary
protected ResourceUsageValue(double value, Date timestamp)
           
 
Method Summary
static ResourceUsageValue.Builder<?> builder()
           
 boolean equals(Object obj)
           
 Date getTimestamp()
           
 double getValue()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ResourceUsageValue.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceUsageValue

@ConstructorProperties(value={"value","timestamp"})
protected ResourceUsageValue(double value,
                                                        Date timestamp)
Method Detail

builder

public static ResourceUsageValue.Builder<?> builder()

toBuilder

public ResourceUsageValue.Builder<?> toBuilder()

getValue

public double getValue()

getTimestamp

public Date getTimestamp()

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.