|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xerox.amazonws.ec2.GroupDescription
public class GroupDescription
An instance of this class represents an EC2 security group.
Instances are returned by calls to
Jec2.describeSecurityGroups(List)
, and
Jec2.describeSecurityGroups(String[])
.
Nested Class Summary | |
---|---|
class |
GroupDescription.IpPermission
|
Constructor Summary | |
---|---|
GroupDescription(String name,
String desc,
String owner)
|
Method Summary | |
---|---|
GroupDescription.IpPermission |
addPermission(String protocol,
int fromPort,
int toPort)
|
String |
getDescription()
|
String |
getName()
|
String |
getOwner()
|
List<GroupDescription.IpPermission> |
getPermissions()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GroupDescription(String name, String desc, String owner)
Method Detail |
---|
public String getName()
public String getDescription()
public String getOwner()
public GroupDescription.IpPermission addPermission(String protocol, int fromPort, int toPort)
public List<GroupDescription.IpPermission> getPermissions()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |