public abstract static class ResourceUsage.Builder<T extends ResourceUsage.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected ResourceUsageInfo |
info |
protected Set<ResourceUsageValue> |
values |
Constructor and Description |
---|
ResourceUsage.Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceUsage |
build() |
T |
fromResourceUsages(ResourceUsage in) |
T |
info(ResourceUsageInfo info) |
protected abstract T |
self() |
T |
values(ResourceUsageValue... in) |
T |
values(Set<ResourceUsageValue> values) |
protected ResourceUsageInfo info
protected Set<ResourceUsageValue> values
protected abstract T self()
public T info(ResourceUsageInfo info)
ResourceUsage.getInfo()
public T values(Set<ResourceUsageValue> values)
ResourceUsage.getValues()
public T values(ResourceUsageValue... in)
ResourceUsage.getValues()
public ResourceUsage build()
public T fromResourceUsages(ResourceUsage in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.