public class DescribeDBSubnetGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the result of a successful invocation of the DescribeDBSubnetGroups action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<DBSubnetGroup> |
dBSubnetGroups
A list of DBSubnetGroup instances.
|
private java.lang.String |
marker
An optional pagination token provided by a previous request.
|
Constructor and Description |
---|
DescribeDBSubnetGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDBSubnetGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<DBSubnetGroup> |
getDBSubnetGroups()
A list of DBSubnetGroup instances.
|
java.lang.String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setDBSubnetGroups(java.util.Collection<DBSubnetGroup> dBSubnetGroups)
A list of DBSubnetGroup instances.
|
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDBSubnetGroupsResult |
withDBSubnetGroups(java.util.Collection<DBSubnetGroup> dBSubnetGroups)
A list of DBSubnetGroup instances.
|
DescribeDBSubnetGroupsResult |
withDBSubnetGroups(DBSubnetGroup... dBSubnetGroups)
A list of DBSubnetGroup instances.
|
DescribeDBSubnetGroupsResult |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
private java.lang.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
.
private SdkInternalList<DBSubnetGroup> dBSubnetGroups
A list of DBSubnetGroup instances.
public void setMarker(java.lang.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 java.lang.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(java.lang.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 java.util.List<DBSubnetGroup> getDBSubnetGroups()
A list of DBSubnetGroup instances.
public void setDBSubnetGroups(java.util.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(java.util.Collection<DBSubnetGroup> dBSubnetGroups)
A list of DBSubnetGroup instances.
dBSubnetGroups
- A list of DBSubnetGroup instances.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 DescribeDBSubnetGroupsResult clone()
clone
in class java.lang.Object