@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBSecurityGroupMembership extends Object implements Serializable, Cloneable
Specifies membership in a designated DB security group.
Constructor and Description |
---|
DBSecurityGroupMembership() |
Modifier and Type | Method and Description |
---|---|
DBSecurityGroupMembership |
clone() |
boolean |
equals(Object obj) |
String |
getDBSecurityGroupName()
The name of the DB security group.
|
String |
getStatus()
The status of the DB security group.
|
int |
hashCode() |
void |
setDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB security group.
|
void |
setStatus(String status)
The status of the DB security group.
|
String |
toString()
Returns a string representation of this object.
|
DBSecurityGroupMembership |
withDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB security group.
|
DBSecurityGroupMembership |
withStatus(String status)
The status of the DB security group.
|
public void setDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB security group.
dBSecurityGroupName
- The name of the DB security group.public String getDBSecurityGroupName()
The name of the DB security group.
public DBSecurityGroupMembership withDBSecurityGroupName(String dBSecurityGroupName)
The name of the DB security group.
dBSecurityGroupName
- The name of the DB security group.public void setStatus(String status)
The status of the DB security group.
status
- The status of the DB security group.public String getStatus()
The status of the DB security group.
public DBSecurityGroupMembership withStatus(String status)
The status of the DB security group.
status
- The status of the DB security group.public String toString()
toString
in class Object
Object.toString()
public DBSecurityGroupMembership clone()