public class Tier extends DomainWrapper<com.abiquo.server.core.infrastructure.storage.TierDto>
TierDto
. The Tier Resource offers the functionality of
managing the logic of QoS volume management. These are only logical levels of QoS and the real
QoS (networking speed, volume replication, availability) must be configured manually in the
infrastructure.
http://community.abiquo.com/display/ABI20/TierResource
context, target
Modifier | Constructor and Description |
---|---|
protected |
Tier(RestContext<AbiquoApi,AbiquoAsyncApi> context,
com.abiquo.server.core.infrastructure.storage.TierDto target)
Constructor to be used only by the builder.
|
Modifier and Type | Method and Description |
---|---|
StoragePool |
findStoragePool(com.google.common.base.Predicate<StoragePool> filter)
Retrieve the first storage pool matching the filter within the list of pools in this tier.
|
Datacenter |
getDatacenter()
Retrieve the datacenter where this tier is.
|
String |
getDescription() |
boolean |
getEnabled() |
Integer |
getId() |
String |
getName() |
List<StoragePool> |
listStoragePools()
Retrieve the list of storage pools in this tier.
|
List<StoragePool> |
listStoragePools(com.google.common.base.Predicate<StoragePool> filter)
Retrieve a filtered list of storage pools in this tier.
|
void |
setDescription(String description) |
void |
setEnabled(boolean enabled) |
void |
setName(String name) |
String |
toString() |
void |
update()
Update tier information in the server with the data from this tier.
|
getParentId, getTask, getTasks, getURI, join, unwrap, unwrap, updateLink, wrap, wrap
protected Tier(RestContext<AbiquoApi,AbiquoAsyncApi> context, com.abiquo.server.core.infrastructure.storage.TierDto target)
public void update()
public List<StoragePool> listStoragePools()
http://community.abiquo.com/display/ABI20/StoragePoolResource#StoragePoolResource-
Retrievestoragepools
public List<StoragePool> listStoragePools(com.google.common.base.Predicate<StoragePool> filter)
filter
- Filter to be applied to the list. http://community.abiquo.com/display/ABI20/StoragePoolResource#StoragePoolResource-
Retrievestoragepools
public StoragePool findStoragePool(com.google.common.base.Predicate<StoragePool> filter)
filter
- Filter to be applied to the list.null
if there is none. http://community.abiquo.com/display/ABI20/StoragePoolResource#StoragePoolResource-
Retrievestoragepools
public Datacenter getDatacenter()
public String getDescription()
public boolean getEnabled()
public Integer getId()
public String getName()
public void setDescription(String description)
public void setEnabled(boolean enabled)
public void setName(String name)
Copyright © 2009-2013 jclouds. All Rights Reserved.