Class IPRange
java.lang.Object
com.amazonaws.services.redshift.model.IPRange
- All Implemented Interfaces:
Serializable, Cloneable
Describes an IP range used in a security group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe IP range in Classless Inter-Domain Routing (CIDR) notation.The status of the IP range, for example, "authorized".getTags()The list of tags for the IP range.inthashCode()voidThe IP range in Classless Inter-Domain Routing (CIDR) notation.voidThe status of the IP range, for example, "authorized".voidsetTags(Collection<Tag> tags) The list of tags for the IP range.toString()Returns a string representation of this object; useful for testing and debugging.withCIDRIP(String cIDRIP) The IP range in Classless Inter-Domain Routing (CIDR) notation.withStatus(String status) The status of the IP range, for example, "authorized".The list of tags for the IP range.withTags(Collection<Tag> tags) The list of tags for the IP range.
-
Constructor Details
-
IPRange
public IPRange()
-
-
Method Details
-
setStatus
The status of the IP range, for example, "authorized".
- Parameters:
status- The status of the IP range, for example, "authorized".
-
getStatus
The status of the IP range, for example, "authorized".
- Returns:
- The status of the IP range, for example, "authorized".
-
withStatus
-
setCIDRIP
The IP range in Classless Inter-Domain Routing (CIDR) notation.
- Parameters:
cIDRIP- The IP range in Classless Inter-Domain Routing (CIDR) notation.
-
getCIDRIP
The IP range in Classless Inter-Domain Routing (CIDR) notation.
- Returns:
- The IP range in Classless Inter-Domain Routing (CIDR) notation.
-
withCIDRIP
-
getTags
-
setTags
The list of tags for the IP range.
- Parameters:
tags- The list of tags for the IP range.
-
withTags
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)orwithTags(java.util.Collection)if you want to override the existing values.- Parameters:
tags- The list of tags for the IP range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The list of tags for the IP range.
- Parameters:
tags- The list of tags for the IP range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-