public class NovaSecGroupExtension extends Object implements SecGroupExtension
Modifier and Type | Class and Description |
---|---|
static class |
NovaSecGroupExtension.SecurityGroupRule
Security Group Rule
|
static class |
NovaSecGroupExtension.SecurityGroups |
SecGroupExtension.Rule
Constructor and Description |
---|
NovaSecGroupExtension() |
Modifier and Type | Method and Description |
---|---|
static NovaSecGroupExtension |
create(String name,
String description)
Security Groups only need two fields populated when Created so instead of a builder the API can
leverage this call to create a new Security Group
|
String |
getDescription()
Gets the description.
|
String |
getId()
Gets the identifier for the Security Group
|
List<? extends Link> |
getLinks()
Gets the reference / external links
|
String |
getName()
Gets the name of the Security Group
|
List<? extends SecGroupExtension.Rule> |
getRules()
Gets the rules that make up this security group
|
String |
getTenantId()
Gets the tenant id associated with the group
|
String |
toString() |
public static NovaSecGroupExtension create(String name, String description)
name
- name of the security groupdescription
- description of the security grouppublic String getId()
getId
in interface SecGroupExtension
public String getName()
getName
in interface SecGroupExtension
public String getDescription()
getDescription
in interface SecGroupExtension
public String getTenantId()
getTenantId
in interface SecGroupExtension
public List<? extends SecGroupExtension.Rule> getRules()
getRules
in interface SecGroupExtension
public List<? extends Link> getLinks()
getLinks
in interface SecGroupExtension
Copyright © 2017. All rights reserved.