@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCacheSubnetGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a DescribeCacheSubnetGroups
operation.
Constructor and Description |
---|
DescribeCacheSubnetGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCacheSubnetGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<CacheSubnetGroup> |
getCacheSubnetGroups()
A list of cache subnet groups.
|
String |
getMarker()
Provides an identifier to allow retrieval of paginated results.
|
int |
hashCode() |
void |
setCacheSubnetGroups(Collection<CacheSubnetGroup> cacheSubnetGroups)
A list of cache subnet groups.
|
void |
setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCacheSubnetGroupsResult |
withCacheSubnetGroups(CacheSubnetGroup... cacheSubnetGroups)
A list of cache subnet groups.
|
DescribeCacheSubnetGroupsResult |
withCacheSubnetGroups(Collection<CacheSubnetGroup> cacheSubnetGroups)
A list of cache subnet groups.
|
DescribeCacheSubnetGroupsResult |
withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public String getMarker()
Provides an identifier to allow retrieval of paginated results.
public DescribeCacheSubnetGroupsResult withMarker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.public List<CacheSubnetGroup> getCacheSubnetGroups()
A list of cache subnet groups. Each element in the list contains detailed information about one group.
public void setCacheSubnetGroups(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(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 String toString()
toString
in class Object
Object.toString()
public DescribeCacheSubnetGroupsResult clone()