@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSecurityGroupRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeSecurityGroupRulesResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSecurityGroupRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<SecurityGroupRule> |
getSecurityGroupRules()
Information about security group rules.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about security group rules.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSecurityGroupRulesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeSecurityGroupRulesResult |
withSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about security group rules.
|
DescribeSecurityGroupRulesResult |
withSecurityGroupRules(SecurityGroupRule... securityGroupRules)
Information about security group rules.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<SecurityGroupRule> getSecurityGroupRules()
Information about security group rules.
public void setSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about security group rules.
securityGroupRules - Information about security group rules.public DescribeSecurityGroupRulesResult withSecurityGroupRules(SecurityGroupRule... securityGroupRules)
Information about security group rules.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupRules(java.util.Collection) or withSecurityGroupRules(java.util.Collection) if
you want to override the existing values.
securityGroupRules - Information about security group rules.public DescribeSecurityGroupRulesResult withSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about security group rules.
securityGroupRules - Information about security group rules.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 DescribeSecurityGroupRulesResult 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 DescribeSecurityGroupRulesResult clone()
Copyright © 2022. All rights reserved.