public abstract static class ResourceUsageValue.Builder<T extends ResourceUsageValue.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Date |
timestamp |
protected double |
value |
Constructor and Description |
---|
ResourceUsageValue.Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceUsageValue |
build() |
T |
fromResourceUsage(ResourceUsageValue in) |
protected abstract T |
self() |
T |
timestamp(Date timestamp) |
T |
value(double value) |
protected double value
protected Date timestamp
protected abstract T self()
public T value(double value)
ResourceUsageValue.getValue()
public T timestamp(Date timestamp)
ResourceUsageValue.getTimestamp()
public ResourceUsageValue build()
public T fromResourceUsage(ResourceUsageValue in)
Copyright © 2009-2013 jclouds. All Rights Reserved.