com.amazonaws.services.rds.model
Class DescribeDBSecurityGroupsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.DescribeDBSecurityGroupsRequest

public class DescribeDBSecurityGroupsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeDBSecurityGroups operation.

This API returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName is specified, the list will contain only the descriptions of the specified DBSecurityGroup.

See Also:
AmazonRDS.describeDBSecurityGroups(DescribeDBSecurityGroupsRequest)

Constructor Summary
DescribeDBSecurityGroupsRequest()
          Default constructor for a new DescribeDBSecurityGroupsRequest object.
 
Method Summary
 String getDBSecurityGroupName()
          The name of the DB Security Group to return details for.
 String getMarker()
          An optional marker provided in the previous DescribeDBInstances request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 void setDBSecurityGroupName(String dBSecurityGroupName)
          The name of the DB Security Group to return details for.
 void setMarker(String marker)
          An optional marker provided in the previous DescribeDBInstances request.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeDBSecurityGroupsRequest withDBSecurityGroupName(String dBSecurityGroupName)
          The name of the DB Security Group to return details for.
 DescribeDBSecurityGroupsRequest withMarker(String marker)
          An optional marker provided in the previous DescribeDBInstances request.
 DescribeDBSecurityGroupsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeDBSecurityGroupsRequest

public DescribeDBSecurityGroupsRequest()
Default constructor for a new DescribeDBSecurityGroupsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getDBSecurityGroupName

public String getDBSecurityGroupName()
The name of the DB Security Group to return details for.

Returns:
The name of the DB Security Group to return details for.

setDBSecurityGroupName

public void setDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB Security Group to return details for.

Parameters:
dBSecurityGroupName - The name of the DB Security Group to return details for.

withDBSecurityGroupName

public DescribeDBSecurityGroupsRequest withDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB Security Group to return details for.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBSecurityGroupName - The name of the DB Security Group to return details for.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Returns:
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

withMaxRecords

public DescribeDBSecurityGroupsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns:
An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

setMarker

public void setMarker(String marker)
An optional marker provided in the previous DescribeDBInstances 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 marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

withMarker

public DescribeDBSecurityGroupsRequest withMarker(String marker)
An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - An optional marker provided in the previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Returns:
A reference to this updated 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:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.