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 HostAggregate
public Date getCreate()
getCreate
in interface HostAggregate
public boolean isDeleted()
isDeleted
in interface HostAggregate
public Date getDeletedAt()
getDeletedAt
in interface HostAggregate
public List<String> getHosts()
getHosts
in interface HostAggregate
public String getId()
getId
in interface HostAggregate
public Map<String,String> getMetadata()
getMetadata
in interface HostAggregate
public String getName()
getName
in interface HostAggregate
public Date getUpdatedAt()
getUpdatedAt
in interface HostAggregate
Copyright © 2017. All rights reserved.