org.jclouds.openstack.nova.domain
Class SecurityGroup

java.lang.Object
  extended by org.jclouds.openstack.nova.domain.SecurityGroup

public class SecurityGroup
extends Object

Defines a security group

Author:
chamerling

Constructor Summary
SecurityGroup()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 int getId()
           
 String getName()
           
 String getTenantId()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setId(int id)
           
 void setName(String name)
           
 void setTenantId(String tenantId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityGroup

public SecurityGroup()
Method Detail

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.