@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IPRange extends Object implements Serializable, Cloneable
Describes an IP range used in a security group.
Constructor and Description |
---|
IPRange() |
Modifier and Type | Method and Description |
---|---|
IPRange |
clone() |
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".
|
List<Tag> |
getTags()
The list of tags for the IP range.
|
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".
|
void |
setTags(Collection<Tag> tags)
The list of tags for the IP range.
|
String |
toString()
Returns a string representation of this object.
|
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".
|
IPRange |
withTags(Collection<Tag> tags)
The list of tags for the IP range.
|
IPRange |
withTags(Tag... tags)
The list of tags for the IP range.
|
public void setStatus(String status)
The status of the IP range, for example, "authorized".
status
- The status of the IP range, for example, "authorized".public String getStatus()
The status of the IP range, for example, "authorized".
public IPRange withStatus(String status)
The status of the IP range, for example, "authorized".
status
- The status of the IP range, for example, "authorized".public void setCIDRIP(String cIDRIP)
The IP range in Classless Inter-Domain Routing (CIDR) notation.
cIDRIP
- The IP range in Classless Inter-Domain Routing (CIDR) notation.public String getCIDRIP()
The IP range in Classless Inter-Domain Routing (CIDR) notation.
public IPRange withCIDRIP(String cIDRIP)
The IP range in Classless Inter-Domain Routing (CIDR) notation.
cIDRIP
- The IP range in Classless Inter-Domain Routing (CIDR) notation.public List<Tag> getTags()
The list of tags for the IP range.
public void setTags(Collection<Tag> tags)
The list of tags for the IP range.
tags
- The list of tags for the IP range.public IPRange withTags(Tag... tags)
The list of tags for the IP range.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The list of tags for the IP range.public IPRange withTags(Collection<Tag> tags)
The list of tags for the IP range.
tags
- The list of tags for the IP range.public String toString()
toString
in class Object
Object.toString()