@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 include in another request to get the next page of items.
|
List<SecurityGroupRule> |
getSecurityGroupRules()
Information about security group rules.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
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 include in another request to get the next page of items.
|
DescribeSecurityGroupRulesResult |
withSecurityGroupRules(Collection<SecurityGroupRule> securityGroupRules)
Information about security group rules.
|
DescribeSecurityGroupRulesResult |
withSecurityGroupRules(SecurityGroupRule... securityGroupRules)
Information about security group rules.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 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 DescribeSecurityGroupRulesResult 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 DescribeSecurityGroupRulesResult clone()