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 IPRangeclone()booleanequals(Object obj)StringgetCIDRIP()Specifies the IP range.StringgetStatus()Specifies the status of the IP range.inthashCode()voidsetCIDRIP(String cIDRIP)Specifies the IP range.voidsetStatus(String status)Specifies the status of the IP range.StringtoString()Returns a string representation of this object; useful for testing and debugging.IPRangewithCIDRIP(String cIDRIP)Specifies the IP range.IPRangewithStatus(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-