public class DescribeStaleSecurityGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
private SdkInternalList<StaleSecurityGroup> |
staleSecurityGroupSet
Information about the stale security groups.
|
Constructor and Description |
---|
DescribeStaleSecurityGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStaleSecurityGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token to use when requesting the next set of items.
|
java.util.List<StaleSecurityGroup> |
getStaleSecurityGroupSet()
Information about the stale security groups.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
void |
setStaleSecurityGroupSet(java.util.Collection<StaleSecurityGroup> staleSecurityGroupSet)
Information about the stale security groups.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStaleSecurityGroupsResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
DescribeStaleSecurityGroupsResult |
withStaleSecurityGroupSet(java.util.Collection<StaleSecurityGroup> staleSecurityGroupSet)
Information about the stale security groups.
|
DescribeStaleSecurityGroupsResult |
withStaleSecurityGroupSet(StaleSecurityGroup... staleSecurityGroupSet)
Information about the stale security groups.
|
private SdkInternalList<StaleSecurityGroup> staleSecurityGroupSet
Information about the stale security groups.
private java.lang.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.
public java.util.List<StaleSecurityGroup> getStaleSecurityGroupSet()
Information about the stale security groups.
public void setStaleSecurityGroupSet(java.util.Collection<StaleSecurityGroup> staleSecurityGroupSet)
Information about the stale security groups.
staleSecurityGroupSet
- Information about the stale security groups.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)
or
withStaleSecurityGroupSet(java.util.Collection)
if you want to
override the existing values.
staleSecurityGroupSet
- Information about the stale security groups.public DescribeStaleSecurityGroupsResult withStaleSecurityGroupSet(java.util.Collection<StaleSecurityGroup> staleSecurityGroupSet)
Information about the stale security groups.
staleSecurityGroupSet
- Information about the stale security groups.public void setNextToken(java.lang.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.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public java.lang.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.
public DescribeStaleSecurityGroupsResult withNextToken(java.lang.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.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeStaleSecurityGroupsResult clone()
clone
in class java.lang.Object