Class NovaSecGroupExtension
- java.lang.Object
-
- org.openstack4j.openstack.compute.domain.NovaSecGroupExtension
-
- All Implemented Interfaces:
Serializable,SecGroupExtension,ModelEntity
@Deprecated public class NovaSecGroupExtension extends Object implements SecGroupExtension
Deprecated.A Security Group which is defined the the (os-security-groups) extension- Author:
- Jeremy Unruh
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNovaSecGroupExtension.SecurityGroupRuleDeprecated.static classNovaSecGroupExtension.SecurityGroupsDeprecated.-
Nested classes/interfaces inherited from interface org.openstack4j.model.compute.SecGroupExtension
SecGroupExtension.Rule
-
-
Constructor Summary
Constructors Constructor Description NovaSecGroupExtension()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NovaSecGroupExtensioncreate(String name, String description)Deprecated.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 GroupStringgetDescription()Deprecated.Gets the description.StringgetId()Deprecated.Gets the identifier for the Security GroupList<? extends Link>getLinks()Deprecated.Gets the reference / external linksStringgetName()Deprecated.Gets the name of the Security GroupList<? extends SecGroupExtension.Rule>getRules()Deprecated.Gets the rules that make up this security groupStringgetTenantId()Deprecated.Gets the tenant id associated with the groupStringtoString()Deprecated.
-
-
-
Method Detail
-
create
public static NovaSecGroupExtension create(String name, String description)
Deprecated.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- Parameters:
name- name of the security groupdescription- description of the security group
-
getId
public String getId()
Deprecated.Gets the identifier for the Security Group- Specified by:
getIdin interfaceSecGroupExtension- Returns:
- the identifier
-
getName
public String getName()
Deprecated.Gets the name of the Security Group- Specified by:
getNamein interfaceSecGroupExtension- Returns:
- the name of the Group
-
getDescription
public String getDescription()
Deprecated.Gets the description.- Specified by:
getDescriptionin interfaceSecGroupExtension- Returns:
- the description of the Security Group
-
getTenantId
public String getTenantId()
Deprecated.Gets the tenant id associated with the group- Specified by:
getTenantIdin interfaceSecGroupExtension- Returns:
- the tenant identifier
-
getRules
public List<? extends SecGroupExtension.Rule> getRules()
Deprecated.Gets the rules that make up this security group- Specified by:
getRulesin interfaceSecGroupExtension- Returns:
- the list of rules
-
getLinks
public List<? extends Link> getLinks()
Deprecated.Gets the reference / external links- Specified by:
getLinksin interfaceSecGroupExtension- Returns:
- external/reference list of links
-
-