org.jclouds.openstack.nova.domain
Class SecurityGroup
java.lang.Object
org.jclouds.openstack.nova.domain.SecurityGroup
public class SecurityGroup
- extends Object
Defines a security group
- Author:
- chamerling
SecurityGroup
public SecurityGroup()
getId
public int getId()
- Returns:
- the id
setId
public void setId(int id)
- Parameters:
id
- the id to set
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getDescription
public String getDescription()
- Returns:
- the description
setDescription
public void setDescription(String description)
- Parameters:
description
- the description to set
getTenantId
public String getTenantId()
- Returns:
- the tenantId
setTenantId
public void setTenantId(String tenantId)
- Parameters:
tenantId
- the tenantId to set
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.