Package com.amazonaws.services.rds.model
Class IPRange
- java.lang.Object
-
- com.amazonaws.services.rds.model.IPRange
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class IPRange extends Object implements Serializable, Cloneable
This data type is used as a response element in the DescribeDBSecurityGroups action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IPRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPRange
clone()
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.
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
- Parameters:
status
- Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
-
getStatus
public String getStatus()
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
- Returns:
- Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
-
withStatus
public IPRange withStatus(String status)
Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".
- Parameters:
status
- Specifies the status of the IP range. Status can be "authorizing", "authorized", "revoking", and "revoked".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCIDRIP
public void setCIDRIP(String cIDRIP)
Specifies the IP range.
- Parameters:
cIDRIP
- Specifies the IP range.
-
getCIDRIP
public String getCIDRIP()
Specifies the IP range.
- Returns:
- Specifies the IP range.
-
withCIDRIP
public IPRange withCIDRIP(String cIDRIP)
Specifies the IP range.
- Parameters:
cIDRIP
- Specifies the IP range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-