Class HostAggregate
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.HostAggregate
-
public class HostAggregate extends Object
Aggregates can be manipulated using the Aggregate Extension to Nova (alias "OS-AGGREGATES")- See Also:
HostAggregateApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HostAggregate.Builder<T extends HostAggregate.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostAggregate.Builder<?>
builder()
boolean
equals(Object obj)
String
getAvailabilityZone()
Date
getCreated()
Set<String>
getHosts()
String
getId()
Map<String,String>
getMetadata()
String
getName()
String
getState()
com.google.common.base.Optional<Date>
getUpdated()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
HostAggregate.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
HostAggregate
@ConstructorProperties({"id","name","availability_zone","hosts","operational_state","created_at","updated_at","metadata"}) protected HostAggregate(String id, String name, @Nullable String availabilityZone, @Nullable Set<String> hosts, @Nullable String state, Date created, @Nullable Date updated, @Nullable Map<String,String> metadata)
-
-
Method Detail
-
builder
public static HostAggregate.Builder<?> builder()
-
toBuilder
public HostAggregate.Builder<?> toBuilder()
-
getId
public String getId()
-
getName
public String getName()
-
getAvailabilityZone
public String getAvailabilityZone()
- Returns:
- the availability zone this aggregate is in
-
getState
public String getState()
-
getCreated
public Date getCreated()
-
getUpdated
public com.google.common.base.Optional<Date> getUpdated()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-