public class NovaServerGroup extends Object implements ServerGroup
Modifier and Type | Class and Description |
---|---|
static class |
NovaServerGroup.ServerGroups |
Constructor and Description |
---|
NovaServerGroup() |
Modifier and Type | Method and Description |
---|---|
static NovaServerGroup |
create(String name,
String policy) |
String |
getId() |
List<String> |
getMembers() |
Map<String,String> |
getMetadata() |
String |
getName() |
List<String> |
getPolicies() |
void |
setMetadata(Map<String,String> metadata) |
void |
setName(String name) |
void |
setPolicies(List<String> policies) |
String |
toString() |
public static NovaServerGroup create(String name, String policy)
public String getId()
getId
in interface ServerGroup
public String getName()
getName
in interface ServerGroup
public List<String> getMembers()
getMembers
in interface ServerGroup
public Map<String,String> getMetadata()
getMetadata
in interface ServerGroup
public List<String> getPolicies()
getPolicies
in interface ServerGroup
public void setName(String name)
Copyright © 2017. All rights reserved.