Class NovaHostAggregate
- java.lang.Object
-
- org.openstack4j.openstack.compute.domain.NovaHostAggregate
-
- All Implemented Interfaces:
Serializable,HostAggregate,ModelEntity
public class NovaHostAggregate extends Object implements HostAggregate
Nova HostAggregate- Author:
- liujunpeng
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNovaHostAggregate.NovaHostAggregateshost aggregates
-
Constructor Summary
Constructors Constructor Description NovaHostAggregate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NovaHostAggregatecreate(String name, String availabilityZone)Used internally by the domain side of the API to create a new HostAggregate on an OpenStack serverStringgetAvailabilityZone()Availability zone of aggregateDategetCreate()DategetDeletedAt()List<String>getHosts()Host ID to add to an aggregate, which is a collection of multiple groups of hosts that share common resources like storage and network.StringgetId()The ID associated with an aggregateMap<String,String>getMetadata()Metadata valueStringgetName()DategetUpdatedAt()booleanisDeleted()StringtoString()
-
-
-
Method Detail
-
create
public static NovaHostAggregate create(String name, String availabilityZone)
Used internally by the domain side of the API to create a new HostAggregate on an OpenStack server- Returns:
- NovaHostAggregate
-
getAvailabilityZone
public String getAvailabilityZone()
Availability zone of aggregate- Specified by:
getAvailabilityZonein interfaceHostAggregate- Returns:
- Availability zone
-
getCreate
public Date getCreate()
- Specified by:
getCreatein interfaceHostAggregate- Returns:
- created time
-
isDeleted
public boolean isDeleted()
- Specified by:
isDeletedin interfaceHostAggregate- Returns:
- true:deleted;false:no
-
getDeletedAt
public Date getDeletedAt()
- Specified by:
getDeletedAtin interfaceHostAggregate- Returns:
- deleted time
-
getHosts
public List<String> getHosts()
Host ID to add to an aggregate, which is a collection of multiple groups of hosts that share common resources like storage and network.- Specified by:
getHostsin interfaceHostAggregate- Returns:
- hosts list
-
getId
public String getId()
The ID associated with an aggregate- Specified by:
getIdin interfaceHostAggregate- Returns:
- id
-
getMetadata
public Map<String,String> getMetadata()
Metadata value- Specified by:
getMetadatain interfaceHostAggregate- Returns:
- Map
-
getName
public String getName()
- Specified by:
getNamein interfaceHostAggregate- Returns:
- name
-
getUpdatedAt
public Date getUpdatedAt()
- Specified by:
getUpdatedAtin interfaceHostAggregate- Returns:
- last updated time
-
-