Class DescribeCacheSecurityGroupsResult
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.DescribeCacheSecurityGroupsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeCacheSecurityGroupsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeCacheSecurityGroups action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCacheSecurityGroupsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker
- Provides an identifier to allow retrieval of paginated results.
-
getMarker
public String getMarker()
Provides an identifier to allow retrieval of paginated results.
- Returns:
- Provides an identifier to allow retrieval of paginated results.
-
withMarker
public DescribeCacheSecurityGroupsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker
- Provides an identifier to allow retrieval of paginated results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCacheSecurityGroups
public List<CacheSecurityGroup> getCacheSecurityGroups()
A list of cache security groups. Each element in the list contains detailed information about one group.
- Returns:
- A list of cache security groups. Each element in the list contains detailed information about one group.
-
setCacheSecurityGroups
public void setCacheSecurityGroups(Collection<CacheSecurityGroup> cacheSecurityGroups)
A list of cache security groups. Each element in the list contains detailed information about one group.
- Parameters:
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains detailed information about one group.
-
withCacheSecurityGroups
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)
orwithCacheSecurityGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains detailed information about one group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCacheSecurityGroups
public DescribeCacheSecurityGroupsResult withCacheSecurityGroups(Collection<CacheSecurityGroup> cacheSecurityGroups)
A list of cache security groups. Each element in the list contains detailed information about one group.
- Parameters:
cacheSecurityGroups
- A list of cache security groups. Each element in the list contains detailed information about one group.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCacheSecurityGroupsResult clone()
-
-