public class DescribeSecurityGroupsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeSecurityGroups.
Constructor and Description |
---|
DescribeSecurityGroupsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<SecurityGroup> |
getSecurityGroups()
Information about one or more security groups.
|
int |
hashCode() |
void |
setSecurityGroups(java.util.Collection<SecurityGroup> securityGroups)
Information about one or more security groups.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSecurityGroupsResult |
withSecurityGroups(java.util.Collection<SecurityGroup> securityGroups)
Information about one or more security groups.
|
DescribeSecurityGroupsResult |
withSecurityGroups(SecurityGroup... securityGroups)
Information about one or more security groups.
|
public java.util.List<SecurityGroup> getSecurityGroups()
public void setSecurityGroups(java.util.Collection<SecurityGroup> securityGroups)
securityGroups
- Information about one or more security groups.public DescribeSecurityGroupsResult withSecurityGroups(SecurityGroup... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- Information about one or more security groups.public DescribeSecurityGroupsResult withSecurityGroups(java.util.Collection<SecurityGroup> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- Information about one or more security groups.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.