@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSecurityGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSecurityGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSecurityGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to include in another request to get the next page of items.
|
List<SecurityGroup> |
getSecurityGroups()
Information about the security groups.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
void |
setSecurityGroups(Collection<SecurityGroup> securityGroups)
Information about the security groups.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSecurityGroupsResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
DescribeSecurityGroupsResult |
withSecurityGroups(Collection<SecurityGroup> securityGroups)
Information about the security groups.
|
DescribeSecurityGroupsResult |
withSecurityGroups(SecurityGroup... securityGroups)
Information about the security groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SecurityGroup> getSecurityGroups()
Information about the security groups.
public void setSecurityGroups(Collection<SecurityGroup> securityGroups)
Information about the security groups.
securityGroups
- Information about the security groups.public DescribeSecurityGroupsResult withSecurityGroups(SecurityGroup... securityGroups)
Information about the security groups.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- Information about the security groups.public DescribeSecurityGroupsResult withSecurityGroups(Collection<SecurityGroup> securityGroups)
Information about the security groups.
securityGroups
- Information about the security groups.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeSecurityGroupsResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeSecurityGroupsResult clone()