Class DescribeDBSubnetGroupsResult

java.lang.Object
com.amazonaws.services.rds.model.DescribeDBSubnetGroupsResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeDBSubnetGroupsResult extends Object implements Serializable, Cloneable

Contains the result of a successful invocation of the DescribeDBSubnetGroups action.

See Also:
  • Constructor Details

    • DescribeDBSubnetGroupsResult

      public DescribeDBSubnetGroupsResult()
  • Method Details

    • setMarker

      public void setMarker(String marker)

      An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      Parameters:
      marker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
    • getMarker

      public String getMarker()

      An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      Returns:
      An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
    • withMarker

      public DescribeDBSubnetGroupsResult withMarker(String marker)

      An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

      Parameters:
      marker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getDBSubnetGroups

      public List<DBSubnetGroup> getDBSubnetGroups()

      A list of DBSubnetGroup instances.

      Returns:
      A list of DBSubnetGroup instances.
    • setDBSubnetGroups

      public void setDBSubnetGroups(Collection<DBSubnetGroup> dBSubnetGroups)

      A list of DBSubnetGroup instances.

      Parameters:
      dBSubnetGroups - A list of DBSubnetGroup instances.
    • withDBSubnetGroups

      public DescribeDBSubnetGroupsResult withDBSubnetGroups(DBSubnetGroup... dBSubnetGroups)

      A list of DBSubnetGroup instances.

      NOTE: This method appends the values to the existing list (if any). Use setDBSubnetGroups(java.util.Collection) or withDBSubnetGroups(java.util.Collection) if you want to override the existing values.

      Parameters:
      dBSubnetGroups - A list of DBSubnetGroup instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withDBSubnetGroups

      public DescribeDBSubnetGroupsResult withDBSubnetGroups(Collection<DBSubnetGroup> dBSubnetGroups)

      A list of DBSubnetGroup instances.

      Parameters:
      dBSubnetGroups - A list of DBSubnetGroup instances.
      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