@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDBSecurityGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeDBSecurityGroups
action.
Constructor and Description |
---|
DescribeDBSecurityGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDBSecurityGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<DBSecurityGroup> |
getDBSecurityGroups()
A list of
DBSecurityGroup instances. |
String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setDBSecurityGroups(Collection<DBSecurityGroup> dBSecurityGroups)
A list of
DBSecurityGroup instances. |
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDBSecurityGroupsResult |
withDBSecurityGroups(Collection<DBSecurityGroup> dBSecurityGroups)
A list of
DBSecurityGroup instances. |
DescribeDBSecurityGroupsResult |
withDBSecurityGroups(DBSecurityGroup... dBSecurityGroups)
A list of
DBSecurityGroup instances. |
DescribeDBSecurityGroupsResult |
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 DescribeDBSecurityGroupsResult 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<DBSecurityGroup> getDBSecurityGroups()
A list of DBSecurityGroup
instances.
DBSecurityGroup
instances.public void setDBSecurityGroups(Collection<DBSecurityGroup> dBSecurityGroups)
A list of DBSecurityGroup
instances.
dBSecurityGroups
- A list of DBSecurityGroup
instances.public DescribeDBSecurityGroupsResult withDBSecurityGroups(DBSecurityGroup... dBSecurityGroups)
A list of DBSecurityGroup
instances.
NOTE: This method appends the values to the existing list (if any). Use
setDBSecurityGroups(java.util.Collection)
or withDBSecurityGroups(java.util.Collection)
if you
want to override the existing values.
dBSecurityGroups
- A list of DBSecurityGroup
instances.public DescribeDBSecurityGroupsResult withDBSecurityGroups(Collection<DBSecurityGroup> dBSecurityGroups)
A list of DBSecurityGroup
instances.
dBSecurityGroups
- A list of DBSecurityGroup
instances.public String toString()
toString
in class Object
Object.toString()
public DescribeDBSecurityGroupsResult clone()