public class DescribeCacheSecurityGroupsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeCacheSecurityGroups action.
Constructor and Description |
---|
DescribeCacheSecurityGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheSecurityGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<CacheSecurityGroup> |
getCacheSecurityGroups()
A list of cache security groups.
|
String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setCacheSecurityGroups(Collection<CacheSecurityGroup> cacheSecurityGroups)
A list of cache security groups.
|
void |
setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
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(Collection<CacheSecurityGroup> cacheSecurityGroups)
A list of cache security groups.
|
DescribeCacheSecurityGroupsResult |
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
public String getMarker()
public void setMarker(String marker)
marker
- Provides an identifier to allow retrieval of paginated results.public DescribeCacheSecurityGroupsResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- Provides an identifier to allow retrieval of paginated results.public List<CacheSecurityGroup> getCacheSecurityGroups()
public void setCacheSecurityGroups(Collection<CacheSecurityGroup> cacheSecurityGroups)
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains
detailed information about one group.public DescribeCacheSecurityGroupsResult withCacheSecurityGroups(CacheSecurityGroup... cacheSecurityGroups)
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.
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains
detailed information about one group.public DescribeCacheSecurityGroupsResult withCacheSecurityGroups(Collection<CacheSecurityGroup> cacheSecurityGroups)
Returns a reference to this object so that method calls can be chained together.
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains
detailed information about one group.public String toString()
toString
in class Object
Object.toString()
public DescribeCacheSecurityGroupsResult clone()
Copyright © 2016. All rights reserved.