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.

Deletes a database security group.

NOTE:The specified database security group must not be associated with any DB instances.

See Also:
AmazonRDS.deleteDBSecurityGroup(DeleteDBSecurityGroupRequest)

Constructor Summary
DeleteDBSecurityGroupRequest()
          Default constructor for a new DeleteDBSecurityGroupRequest object.
DeleteDBSecurityGroupRequest(String dBSecurityGroupName)
          Constructs a new DeleteDBSecurityGroupRequest object.
 
Method Summary
 String getDBSecurityGroupName()
          The name of the database security group to delete.
 void setDBSecurityGroupName(String dBSecurityGroupName)
          The name of the database security group to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteDBSecurityGroupRequest withDBSecurityGroupName(String dBSecurityGroupName)
          The name of the database security group to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
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(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. You cannot delete the default security group.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
Method Detail

getDBSecurityGroupName

public String getDBSecurityGroupName()
The name of the database security group to delete. You cannot delete the default security group.

Constraints:

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

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

setDBSecurityGroupName

public void setDBSecurityGroupName(String dBSecurityGroupName)
The name of the database security group to delete. You cannot delete the default security group.

Constraints:

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

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

withDBSecurityGroupName

public DeleteDBSecurityGroupRequest withDBSecurityGroupName(String dBSecurityGroupName)
The name of the database security group to delete. You cannot delete the default security group.

Constraints:

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. You cannot delete the default security group.

Constraints:

  • Must be 1 to 255 alphanumeric characters
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
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.