Package com.amazonaws.services.ec2.model
Class DescribeSecurityGroupsResult
java.lang.Object
com.amazonaws.services.ec2.model.DescribeSecurityGroupsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeSecurityGroups.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about one or more security groups.int
hashCode()
void
setSecurityGroups
(Collection<SecurityGroup> securityGroups) Information about one or more security groups.toString()
Returns a string representation of this object; useful for testing and debugging.withSecurityGroups
(SecurityGroup... securityGroups) Information about one or more security groups.withSecurityGroups
(Collection<SecurityGroup> securityGroups) Information about one or more security groups.
-
Constructor Details
-
DescribeSecurityGroupsResult
public DescribeSecurityGroupsResult()
-
-
Method Details
-
getSecurityGroups
Information about one or more security groups.
- Returns:
- Information about one or more security groups.
-
setSecurityGroups
Information about one or more security groups.
- Parameters:
securityGroups
- Information about one or more security groups.
-
withSecurityGroups
Information about one or more security groups.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
orwithSecurityGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
securityGroups
- Information about one or more security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSecurityGroups
Information about one or more security groups.
- Parameters:
securityGroups
- Information about one or more security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-