public class DescribeCacheSubnetGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a DescribeCacheSubnetGroups action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<CacheSubnetGroup> |
cacheSubnetGroups
A list of cache subnet groups.
|
private java.lang.String |
marker
Provides an identifier to allow retrieval of paginated results.
|
Constructor and Description |
---|
DescribeCacheSubnetGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheSubnetGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<CacheSubnetGroup> |
getCacheSubnetGroups()
A list of cache subnet groups.
|
java.lang.String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setCacheSubnetGroups(java.util.Collection<CacheSubnetGroup> cacheSubnetGroups)
A list of cache subnet 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.
|
DescribeCacheSubnetGroupsResult |
withCacheSubnetGroups(CacheSubnetGroup... cacheSubnetGroups)
A list of cache subnet groups.
|
DescribeCacheSubnetGroupsResult |
withCacheSubnetGroups(java.util.Collection<CacheSubnetGroup> cacheSubnetGroups)
A list of cache subnet groups.
|
DescribeCacheSubnetGroupsResult |
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<CacheSubnetGroup> cacheSubnetGroups
A list of cache subnet 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 DescribeCacheSubnetGroupsResult 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<CacheSubnetGroup> getCacheSubnetGroups()
A list of cache subnet groups. Each element in the list contains detailed information about one group.
public void setCacheSubnetGroups(java.util.Collection<CacheSubnetGroup> cacheSubnetGroups)
A list of cache subnet groups. Each element in the list contains detailed information about one group.
cacheSubnetGroups
- A list of cache subnet groups. Each element in the list contains
detailed information about one group.public DescribeCacheSubnetGroupsResult withCacheSubnetGroups(CacheSubnetGroup... cacheSubnetGroups)
A list of cache subnet 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 setCacheSubnetGroups(java.util.Collection)
or
withCacheSubnetGroups(java.util.Collection)
if you want to
override the existing values.
cacheSubnetGroups
- A list of cache subnet groups. Each element in the list contains
detailed information about one group.public DescribeCacheSubnetGroupsResult withCacheSubnetGroups(java.util.Collection<CacheSubnetGroup> cacheSubnetGroups)
A list of cache subnet groups. Each element in the list contains detailed information about one group.
cacheSubnetGroups
- A list of cache subnet 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 DescribeCacheSubnetGroupsResult clone()
clone
in class java.lang.Object