com.amazonaws.services.rds.model
Class DeleteDBSecurityGroupRequest

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

public class DeleteDBSecurityGroupRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteDBSecurityGroup operation.

This API deletes a database security group. Database security group must not be associated with any RDS Instances.

See Also:
AmazonRDS.deleteDBSecurityGroup(DeleteDBSecurityGroupRequest)

Constructor Summary
DeleteDBSecurityGroupRequest()
          Default constructor for a new DeleteDBSecurityGroupRequest object.
DeleteDBSecurityGroupRequest(java.lang.String dBSecurityGroupName)
          Constructs a new DeleteDBSecurityGroupRequest object.
 
Method Summary
 java.lang.String getDBSecurityGroupName()
          The name of the database security group to delete.
 void setDBSecurityGroupName(java.lang.String dBSecurityGroupName)
          The name of the database security group to delete.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteDBSecurityGroupRequest withDBSecurityGroupName(java.lang.String dBSecurityGroupName)
          The name of the database security group to delete.
 
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

DeleteDBSecurityGroupRequest

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


DeleteDBSecurityGroupRequest

public DeleteDBSecurityGroupRequest(java.lang.String dBSecurityGroupName)
Constructs a new DeleteDBSecurityGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
dBSecurityGroupName - The name of the database security group to delete.
Method Detail

getDBSecurityGroupName

public java.lang.String getDBSecurityGroupName()
The name of the database security group to delete.

Returns:
The name of the database security group to delete.

setDBSecurityGroupName

public void setDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the database security group to delete.

Parameters:
dBSecurityGroupName - The name of the database security group to delete.

withDBSecurityGroupName

public DeleteDBSecurityGroupRequest withDBSecurityGroupName(java.lang.String dBSecurityGroupName)
The name of the database security group to delete.

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

Parameters:
dBSecurityGroupName - The name of the database security group to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()


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