public class IPRange extends Object implements Serializable
This data type is used as a response element in the DescribeDBSecurityGroups action.
Constructor and Description |
---|
IPRange()
Default constructor for a new IPRange object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCIDRIP()
Specifies the IP range.
|
String |
getStatus()
Specifies the status of the IP range.
|
int |
hashCode() |
void |
setCIDRIP(String cIDRIP)
Specifies the IP range.
|
void |
setStatus(String status)
Specifies the status of the IP range.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IPRange |
withCIDRIP(String cIDRIP)
Specifies the IP range.
|
IPRange |
withStatus(String status)
Specifies the status of the IP range.
|
public IPRange()
public String getStatus()
public void setStatus(String status)
status
- Specifies the status of the IP range. Status can be "authorizing",
"authorized", "revoking", and "revoked".public IPRange withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- Specifies the status of the IP range. Status can be "authorizing",
"authorized", "revoking", and "revoked".public String getCIDRIP()
public void setCIDRIP(String cIDRIP)
cIDRIP
- Specifies the IP range.public IPRange withCIDRIP(String cIDRIP)
Returns a reference to this object so that method calls can be chained together.
cIDRIP
- Specifies the IP range.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.