public class DescribeCacheSecurityGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a DescribeCacheSecurityGroups action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<CacheSecurityGroup> |
cacheSecurityGroups
A list of cache security groups.
|
private java.lang.String |
marker
Provides an identifier to allow retrieval of paginated results.
|
Constructor and Description |
---|
DescribeCacheSecurityGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheSecurityGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<CacheSecurityGroup> |
getCacheSecurityGroups()
A list of cache security groups.
|
java.lang.String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setCacheSecurityGroups(java.util.Collection<CacheSecurityGroup> cacheSecurityGroups)
A list of cache security groups.
|
void |
setMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCacheSecurityGroupsResult |
withCacheSecurityGroups(CacheSecurityGroup... cacheSecurityGroups)
A list of cache security groups.
|
DescribeCacheSecurityGroupsResult |
withCacheSecurityGroups(java.util.Collection<CacheSecurityGroup> cacheSecurityGroups)
A list of cache security groups.
|
DescribeCacheSecurityGroupsResult |
withMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
|
private java.lang.String marker
Provides an identifier to allow retrieval of paginated results.
private SdkInternalList<CacheSecurityGroup> cacheSecurityGroups
A list of cache security groups. Each element in the list contains detailed information about one group.
public void setMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public java.lang.String getMarker()
Provides an identifier to allow retrieval of paginated results.
public DescribeCacheSecurityGroupsResult withMarker(java.lang.String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public java.util.List<CacheSecurityGroup> getCacheSecurityGroups()
A list of cache security groups. Each element in the list contains detailed information about one group.
public void setCacheSecurityGroups(java.util.Collection<CacheSecurityGroup> cacheSecurityGroups)
A list of cache security groups. Each element in the list contains detailed information about one group.
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains
detailed information about one group.public DescribeCacheSecurityGroupsResult withCacheSecurityGroups(CacheSecurityGroup... cacheSecurityGroups)
A list of cache security groups. Each element in the list contains detailed information about one group.
NOTE: This method appends the values to the existing list (if
any). Use setCacheSecurityGroups(java.util.Collection)
or
withCacheSecurityGroups(java.util.Collection)
if you want to
override the existing values.
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains
detailed information about one group.public DescribeCacheSecurityGroupsResult withCacheSecurityGroups(java.util.Collection<CacheSecurityGroup> cacheSecurityGroups)
A list of cache security groups. Each element in the list contains detailed information about one group.
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains
detailed information about one group.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 DescribeCacheSecurityGroupsResult clone()
clone
in class java.lang.Object