public class IPRange extends Object implements Serializable
Describes an IP range used in a security group.
Constructor and Description |
---|
IPRange() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCIDRIP()
The IP range in Classless Inter-Domain Routing (CIDR) notation.
|
String |
getStatus()
The status of the IP range, for example, "authorized".
|
int |
hashCode() |
void |
setCIDRIP(String cIDRIP)
The IP range in Classless Inter-Domain Routing (CIDR) notation.
|
void |
setStatus(String status)
The status of the IP range, for example, "authorized".
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IPRange |
withCIDRIP(String cIDRIP)
The IP range in Classless Inter-Domain Routing (CIDR) notation.
|
IPRange |
withStatus(String status)
The status of the IP range, for example, "authorized".
|
public String getStatus()
public void setStatus(String status)
status
- The status of the IP range, for example, "authorized".public IPRange withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the IP range, for example, "authorized".public String getCIDRIP()
public void setCIDRIP(String cIDRIP)
cIDRIP
- The IP range in Classless Inter-Domain Routing (CIDR) notation.public IPRange withCIDRIP(String cIDRIP)
Returns a reference to this object so that method calls can be chained together.
cIDRIP
- The IP range in Classless Inter-Domain Routing (CIDR) notation.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.