@Beta
public interface HostAggregateApi
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<HostAggregate> |
list()
Lists all host aggregates.
|
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 for an aggregate.
|
HostAggregate |
updateName(String id,
String name)
Updates the name of an aggregate.
|
@Named(value="hostAggregate:list") com.google.common.collect.FluentIterable<HostAggregate> list()
@Named(value="hostAggregate:get") @Nullable HostAggregate get(String id)
@Named(value="hostAggregate:create") HostAggregate createInAvailabilityZone(String name, String availabilityZone)
@Named(value="hostAggregate:update") HostAggregate updateName(String id, String name)
@Named(value="hostAggregate:update") HostAggregate updateAvailabilityZone(String id, String availabilityZone)
@Named(value="hostAggregate:addHost") HostAggregate addHost(String id, String host)
@Named(value="hostAggregate:removeHost") HostAggregate removeHost(String id, String host)
@Named(value="hostAggregate:setMetadata") HostAggregate setMetadata(String id, Map<String,String> metadata)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.