Class AvailabilityZoneDetails
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.regionscoped.AvailabilityZoneDetails
-
public class AvailabilityZoneDetails extends Object
Availability Zone which show name, state and host information. Host information includes the host name and the services running on the hosts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AvailabilityZoneDetails.HostService
-
Constructor Summary
Constructors Modifier Constructor Description protected
AvailabilityZoneDetails(String name, ZoneState state, Map<String,Map<String,AvailabilityZoneDetails.HostService>> hosts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Map<String,Map<String,AvailabilityZoneDetails.HostService>>
getHosts()
String
getName()
ZoneState
getState()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
Constructor Detail
-
AvailabilityZoneDetails
@ConstructorProperties({"zoneName","zoneState","hosts"}) protected AvailabilityZoneDetails(String name, ZoneState state, Map<String,Map<String,AvailabilityZoneDetails.HostService>> hosts)
-
-
Method Detail
-
getName
public String getName()
-
getState
public ZoneState getState()
-
getHosts
public Map<String,Map<String,AvailabilityZoneDetails.HostService>> getHosts()
- Returns:
- returns a map of host name and Host service objects
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-