Class DescribeStaleSecurityGroupsResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeStaleSecurityGroupsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeStaleSecurityGroupsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeStaleSecurityGroupsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeStaleSecurityGroupsResultclone()booleanequals(Object obj)StringgetNextToken()The token to use when requesting the next set of items.List<StaleSecurityGroup>getStaleSecurityGroupSet()Information about the stale security groups.inthashCode()voidsetNextToken(String nextToken)The token to use when requesting the next set of items.voidsetStaleSecurityGroupSet(Collection<StaleSecurityGroup> staleSecurityGroupSet)Information about the stale security groups.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeStaleSecurityGroupsResultwithNextToken(String nextToken)The token to use when requesting the next set of items.DescribeStaleSecurityGroupsResultwithStaleSecurityGroupSet(StaleSecurityGroup... staleSecurityGroupSet)Information about the stale security groups.DescribeStaleSecurityGroupsResultwithStaleSecurityGroupSet(Collection<StaleSecurityGroup> staleSecurityGroupSet)Information about the stale security groups.
-
-
-
Method Detail
-
getStaleSecurityGroupSet
public List<StaleSecurityGroup> getStaleSecurityGroupSet()
Information about the stale security groups.
- Returns:
- Information about the stale security groups.
-
setStaleSecurityGroupSet
public void setStaleSecurityGroupSet(Collection<StaleSecurityGroup> staleSecurityGroupSet)
Information about the stale security groups.
- Parameters:
staleSecurityGroupSet- Information about the stale security groups.
-
withStaleSecurityGroupSet
public DescribeStaleSecurityGroupsResult withStaleSecurityGroupSet(StaleSecurityGroup... staleSecurityGroupSet)
Information about the stale security groups.
NOTE: This method appends the values to the existing list (if any). Use
setStaleSecurityGroupSet(java.util.Collection)orwithStaleSecurityGroupSet(java.util.Collection)if you want to override the existing values.- Parameters:
staleSecurityGroupSet- Information about the stale security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStaleSecurityGroupSet
public DescribeStaleSecurityGroupsResult withStaleSecurityGroupSet(Collection<StaleSecurityGroup> staleSecurityGroupSet)
Information about the stale security groups.
- Parameters:
staleSecurityGroupSet- Information about the stale security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
-
getNextToken
public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Returns:
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
-
withNextToken
public DescribeStaleSecurityGroupsResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeStaleSecurityGroupsResult clone()
-
-