public abstract static class ResourceUsageInfo.Builder<T extends ResourceUsageInfo.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
resolution |
protected String |
resource |
protected String |
unit |
Constructor and Description |
---|
ResourceUsageInfo.Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceUsageInfo |
build() |
T |
fromResourceUsageInfo(ResourceUsageInfo in) |
T |
resolution(String resolution) |
T |
resource(String resource) |
protected abstract T |
self() |
T |
unit(String unit) |
protected String resource
protected String resolution
protected String unit
protected abstract T self()
public T resource(String resource)
ResourceUsageInfo.getResource()
public T resolution(String resolution)
ResourceUsageInfo.getResolution()
public T unit(String unit)
ResourceUsageInfo.getUnit()
public ResourceUsageInfo build()
public T fromResourceUsageInfo(ResourceUsageInfo in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.