@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IPRange extends Object implements Serializable, Cloneable
This data type is used as a response element in the DescribeDBSecurityGroups
action.
Constructor and Description |
---|
IPRange() |
Modifier and Type | Method and Description |
---|---|
IPRange |
clone() |
boolean |
equals(Object obj) |
String |
getCIDRIP()
The IP range.
|
String |
getStatus()
The status of the IP range.
|
int |
hashCode() |
void |
setCIDRIP(String cIDRIP)
The IP range.
|
void |
setStatus(String status)
The status of the IP range.
|
String |
toString()
Returns a string representation of this object.
|
IPRange |
withCIDRIP(String cIDRIP)
The IP range.
|
IPRange |
withStatus(String status)
The status of the IP range.
|
public void setStatus(String status)
The status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
status
- The status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".public String getStatus()
The status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
public IPRange withStatus(String status)
The status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
status
- The status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".public void setCIDRIP(String cIDRIP)
The IP range.
cIDRIP
- The IP range.public String getCIDRIP()
The IP range.
public IPRange withCIDRIP(String cIDRIP)
The IP range.
cIDRIP
- The IP range.public String toString()
toString
in class Object
Object.toString()