|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.CreateDBSecurityGroupRequest
public class CreateDBSecurityGroupRequest
Container for the parameters to the CreateDBSecurityGroup operation.
Creates a new DB Security Group. DB Security Groups control access to a DB Instance.
AmazonRDS.createDBSecurityGroup(CreateDBSecurityGroupRequest)| Constructor Summary | |
|---|---|
CreateDBSecurityGroupRequest()
Default constructor for a new CreateDBSecurityGroupRequest object. |
|
CreateDBSecurityGroupRequest(String dBSecurityGroupName,
String dBSecurityGroupDescription)
Constructs a new CreateDBSecurityGroupRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDBSecurityGroupDescription()
The description for the DB Security Group. |
String |
getDBSecurityGroupName()
The name for the DB Security Group. |
int |
hashCode()
|
void |
setDBSecurityGroupDescription(String dBSecurityGroupDescription)
The description for the DB Security Group. |
void |
setDBSecurityGroupName(String dBSecurityGroupName)
The name for the DB Security Group. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateDBSecurityGroupRequest |
withDBSecurityGroupDescription(String dBSecurityGroupDescription)
The description for the DB Security Group. |
CreateDBSecurityGroupRequest |
withDBSecurityGroupName(String dBSecurityGroupName)
The name for the DB Security Group. |
| 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 |
|---|
public CreateDBSecurityGroupRequest()
public CreateDBSecurityGroupRequest(String dBSecurityGroupName,
String dBSecurityGroupDescription)
dBSecurityGroupName - The name for the DB Security Group. This
value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example: mysecuritygroup
dBSecurityGroupDescription - The description for the DB Security
Group.| Method Detail |
|---|
public String getDBSecurityGroupName()
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mysecuritygroup
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mysecuritygroup
public void setDBSecurityGroupName(String dBSecurityGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mysecuritygroup
dBSecurityGroupName - The name for the DB Security Group. This value is stored as a
lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mysecuritygroup
public CreateDBSecurityGroupRequest withDBSecurityGroupName(String dBSecurityGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mysecuritygroup
Returns a reference to this object so that method calls can be chained together.
dBSecurityGroupName - The name for the DB Security Group. This value is stored as a
lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default".
Example:
mysecuritygroup
public String getDBSecurityGroupDescription()
public void setDBSecurityGroupDescription(String dBSecurityGroupDescription)
dBSecurityGroupDescription - The description for the DB Security Group.public CreateDBSecurityGroupRequest withDBSecurityGroupDescription(String dBSecurityGroupDescription)
Returns a reference to this object so that method calls can be chained together.
dBSecurityGroupDescription - The description for the DB Security Group.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||