@Beta
public interface HostAggregateApi
HostAggregateAsyncApi
,
,
Modifier and Type | Method and Description |
---|---|
HostAggregate |
addHost(String id,
String host)
Adds a host to an aggregate
|
HostAggregate |
createInAvailabilityZone(String name,
String availabilityZone)
Creates an aggregate, given its name and availability zone.
|
Boolean |
delete(String id)
Removes an aggregate.
|
HostAggregate |
get(String id)
Retrieves the details of an aggregate, hosts and metadata included.
|
com.google.common.collect.FluentIterable<? extends HostAggregate> |
list() |
HostAggregate |
removeHost(String id,
String host)
Removes a host from an aggregate
|
HostAggregate |
setMetadata(String id,
Map<String,String> metadata)
Adds metadata to an aggregate
|
HostAggregate |
updateAvailabilityZone(String id,
String availabilityZone)
Updates the availability zone an aggregate.
|
HostAggregate |
updateName(String id,
String name)
Updates the name of an aggregate.
|
com.google.common.collect.FluentIterable<? extends HostAggregate> list()
HostAggregate get(String id)
HostAggregate createInAvailabilityZone(String name, String availabilityZone)
HostAggregate updateName(String id, String name)
HostAggregate updateAvailabilityZone(String id, String availabilityZone)
HostAggregate addHost(String id, String host)
HostAggregate removeHost(String id, String host)
HostAggregate setMetadata(String id, Map<String,String> metadata)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.