Class DescribeCacheSubnetGroupsResult

java.lang.Object
com.amazonaws.services.elasticache.model.DescribeCacheSubnetGroupsResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeCacheSubnetGroupsResult extends Object implements Serializable, Cloneable

Represents the output of a DescribeCacheSubnetGroups action.

See Also:
  • Constructor Details

    • DescribeCacheSubnetGroupsResult

      public DescribeCacheSubnetGroupsResult()
  • Method Details

    • 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 DescribeCacheSubnetGroupsResult 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.
    • getCacheSubnetGroups

      public List<CacheSubnetGroup> getCacheSubnetGroups()

      A list of cache subnet groups. Each element in the list contains detailed information about one group.

      Returns:
      A list of cache subnet groups. Each element in the list contains detailed information about one group.
    • setCacheSubnetGroups

      public void setCacheSubnetGroups(Collection<CacheSubnetGroup> cacheSubnetGroups)

      A list of cache subnet groups. Each element in the list contains detailed information about one group.

      Parameters:
      cacheSubnetGroups - A list of cache subnet groups. Each element in the list contains detailed information about one group.
    • withCacheSubnetGroups

      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.

      Parameters:
      cacheSubnetGroups - A list of cache subnet 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.
    • withCacheSubnetGroups

      public DescribeCacheSubnetGroupsResult withCacheSubnetGroups(Collection<CacheSubnetGroup> cacheSubnetGroups)

      A list of cache subnet groups. Each element in the list contains detailed information about one group.

      Parameters:
      cacheSubnetGroups - A list of cache subnet 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object