Class DescribeDBSecurityGroupsResult
- java.lang.Object
-
- com.amazonaws.services.rds.model.DescribeDBSecurityGroupsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeDBSecurityGroupsResult extends Object implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeDBSecurityGroups action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDBSecurityGroupsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.DescribeDBSecurityGroupsResult
withDBSecurityGroups(DBSecurityGroup... dBSecurityGroups)
A list of DBSecurityGroup instances.DescribeDBSecurityGroupsResult
withDBSecurityGroups(Collection<DBSecurityGroup> dBSecurityGroups)
A list of DBSecurityGroup instances.DescribeDBSecurityGroupsResult
withMarker(String marker)
An optional pagination token provided by a previous request.
-
-
-
Method Detail
-
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 byMaxRecords
.
-
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 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
.- 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 byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDBSecurityGroups
public List<DBSecurityGroup> getDBSecurityGroups()
A list of DBSecurityGroup instances.
- Returns:
- A list of DBSecurityGroup instances.
-
setDBSecurityGroups
public void setDBSecurityGroups(Collection<DBSecurityGroup> dBSecurityGroups)
A list of DBSecurityGroup instances.
- Parameters:
dBSecurityGroups
- A list of DBSecurityGroup instances.
-
withDBSecurityGroups
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)
orwithDBSecurityGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
dBSecurityGroups
- A list of DBSecurityGroup instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDBSecurityGroups
public DescribeDBSecurityGroupsResult withDBSecurityGroups(Collection<DBSecurityGroup> dBSecurityGroups)
A list of DBSecurityGroup instances.
- Parameters:
dBSecurityGroups
- A list of DBSecurityGroup 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDBSecurityGroupsResult clone()
-
-