@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDBSubnetGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDBSubnetGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDBSubnetGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<DBSubnetGroup> |
getDBSubnetGroups()
A list of DBSubnetGroup instances.
|
String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setDBSubnetGroups(Collection<DBSubnetGroup> dBSubnetGroups)
A list of DBSubnetGroup instances.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDBSubnetGroupsResult |
withDBSubnetGroups(Collection<DBSubnetGroup> dBSubnetGroups)
A list of DBSubnetGroup instances.
|
DescribeDBSubnetGroupsResult |
withDBSubnetGroups(DBSubnetGroup... dBSubnetGroups)
A list of DBSubnetGroup instances.
|
DescribeDBSubnetGroupsResult |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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
.
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
.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
.
MaxRecords
.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
.
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
.public List<DBSubnetGroup> getDBSubnetGroups()
A list of DBSubnetGroup instances.
public void setDBSubnetGroups(Collection<DBSubnetGroup> dBSubnetGroups)
A list of DBSubnetGroup instances.
dBSubnetGroups
- A list of DBSubnetGroup instances.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.
dBSubnetGroups
- A list of DBSubnetGroup instances.public DescribeDBSubnetGroupsResult withDBSubnetGroups(Collection<DBSubnetGroup> dBSubnetGroups)
A list of DBSubnetGroup instances.
dBSubnetGroups
- A list of DBSubnetGroup instances.public String toString()
toString
in class Object
Object.toString()
public DescribeDBSubnetGroupsResult clone()