public abstract static class ResourceLimit.Builder<T extends ResourceLimit.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
account |
protected String |
domain |
protected String |
domainId |
protected int |
max |
protected ResourceLimit.ResourceType |
resourceType |
Constructor and Description |
---|
ResourceLimit.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
account(String account) |
ResourceLimit |
build() |
T |
domain(String domain) |
T |
domainId(String domainId) |
T |
fromResourceLimit(ResourceLimit in) |
T |
max(int max) |
T |
resourceType(ResourceLimit.ResourceType resourceType) |
protected abstract T |
self() |
protected String account
protected String domain
protected String domainId
protected int max
protected ResourceLimit.ResourceType resourceType
protected abstract T self()
public T account(String account)
ResourceLimit.getAccount()
public T domain(String domain)
ResourceLimit.getDomain()
public T domainId(String domainId)
ResourceLimit.getDomainId()
public T max(int max)
ResourceLimit.getMax()
public T resourceType(ResourceLimit.ResourceType resourceType)
ResourceLimit.getResourceType()
public ResourceLimit build()
public T fromResourceLimit(ResourceLimit in)
Copyright © 2009-2013 jclouds. All Rights Reserved.