public class IPRange
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This data type is used as a response element in the DescribeDBSecurityGroups action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cIDRIP
Specifies the IP range.
|
private java.lang.String |
status
Specifies the status of the IP range.
|
Constructor and Description |
---|
IPRange() |
Modifier and Type | Method and Description |
---|---|
IPRange |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCIDRIP()
Specifies the IP range.
|
java.lang.String |
getStatus()
Specifies the status of the IP range.
|
int |
hashCode() |
void |
setCIDRIP(java.lang.String cIDRIP)
Specifies the IP range.
|
void |
setStatus(java.lang.String status)
Specifies the status of the IP range.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IPRange |
withCIDRIP(java.lang.String cIDRIP)
Specifies the IP range.
|
IPRange |
withStatus(java.lang.String status)
Specifies the status of the IP range.
|
private java.lang.String status
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
private java.lang.String cIDRIP
Specifies the IP range.
public void setStatus(java.lang.String status)
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
status
- Specifies the status of the IP range. Status can be "authorizing",
"authorized", "revoking", and "revoked".public java.lang.String getStatus()
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
public IPRange withStatus(java.lang.String status)
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
status
- Specifies the status of the IP range. Status can be "authorizing",
"authorized", "revoking", and "revoked".public void setCIDRIP(java.lang.String cIDRIP)
Specifies the IP range.
cIDRIP
- Specifies the IP range.public java.lang.String getCIDRIP()
Specifies the IP range.
public IPRange withCIDRIP(java.lang.String cIDRIP)
Specifies the IP range.
cIDRIP
- Specifies the IP range.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public IPRange clone()
clone
in class java.lang.Object