Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class DeleteDBSecurityGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.DeleteDBSecurityGroupRequest
All Implemented Interfaces:
Serializable

public class DeleteDBSecurityGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteDBSecurityGroup operation.

Deletes a DB Security Group.

NOTE:The specified DB Security Group must not be associated with any DB Instances.

See Also:
AmazonRDS.deleteDBSecurityGroup(DeleteDBSecurityGroupRequest), Serialized Form

Constructor Summary
DeleteDBSecurityGroupRequest()
          Default constructor for a new DeleteDBSecurityGroupRequest object.
DeleteDBSecurityGroupRequest(String dBSecurityGroupName)
          Constructs a new DeleteDBSecurityGroupRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getDBSecurityGroupName()
          The name of the DB Security Group to delete.
 int hashCode()
           
 void setDBSecurityGroupName(String dBSecurityGroupName)
          The name of the DB 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 DB Security Group to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, 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 DB Security Group to delete. You cannot delete the default DB 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 DB Security Group to delete. You cannot delete the default DB Security Group.

Constraints:

Returns:
The name of the DB Security Group to delete. You cannot delete the default DB 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 DB Security Group to delete. You cannot delete the default DB Security Group.

Constraints:

Parameters:
dBSecurityGroupName - The name of the DB Security Group to delete. You cannot delete the default DB 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 DB Security Group to delete. You cannot delete the default DB Security Group.

Constraints:

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

Parameters:
dBSecurityGroupName - The name of the DB Security Group to delete. You cannot delete the default DB 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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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