public class NovaHostAggregate extends Object implements HostAggregate
| Modifier and Type | Class and Description |
|---|---|
static class |
NovaHostAggregate.NovaHostAggregates
host aggregates
|
| Modifier and Type | Field and Description |
|---|---|
String |
availabilityZone |
Date |
createdAt |
boolean |
deleted |
Date |
deletedAt |
List<String> |
hosts |
String |
id |
Map<String,String> |
metadata |
String |
name |
Date |
updatedAt |
| Constructor and Description |
|---|
NovaHostAggregate() |
| Modifier and Type | Method and Description |
|---|---|
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
|
String |
getAvaiablityZone()
Availability zone of aggregate
|
Date |
getCreate() |
Date |
getDeletedAt() |
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.
|
String |
getId()
The ID associated with an aggregate
|
Map<String,String> |
getMetadata()
Metadata value
|
String |
getName() |
Date |
getUpdatedAt() |
boolean |
isDeleted() |
String |
toString() |
public String availabilityZone
public Date createdAt
public boolean deleted
public Date deletedAt
public String id
public String name
public Date updatedAt
public static NovaHostAggregate create(String name, String availabilityZone)
name - availabilityZone - public String getAvaiablityZone()
getAvaiablityZone in interface HostAggregatepublic Date getCreate()
getCreate in interface HostAggregatepublic boolean isDeleted()
isDeleted in interface HostAggregatepublic Date getDeletedAt()
getDeletedAt in interface HostAggregatepublic List<String> getHosts()
getHosts in interface HostAggregatepublic String getId()
getId in interface HostAggregatepublic Map<String,String> getMetadata()
getMetadata in interface HostAggregatepublic String getName()
getName in interface HostAggregatepublic Date getUpdatedAt()
getUpdatedAt in interface HostAggregateCopyright © 2017. All rights reserved.