@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 use to retrieve the next page of results.
|
List<SecurityGroup> |
getSecurityGroups()
Information about the security groups.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
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 use to retrieve the next page of results.
|
DescribeSecurityGroupsResult |
withSecurityGroups(Collection<SecurityGroup> securityGroups)
Information about the security groups.
|
DescribeSecurityGroupsResult |
withSecurityGroups(SecurityGroup... securityGroups)
Information about the security groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
null when there are no
more results to return.public DescribeSecurityGroupsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are no
more results to return.public String toString()
toString in class ObjectObject.toString()public DescribeSecurityGroupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.