@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IPSet extends Object implements Serializable, Cloneable, StructuredPojo
A list of IP addresses and address ranges, in CIDR notation. This is part of a RuleVariables.
Constructor and Description |
---|
IPSet() |
Modifier and Type | Method and Description |
---|---|
IPSet |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDefinition()
The list of IP addresses and address ranges, in CIDR notation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefinition(Collection<String> definition)
The list of IP addresses and address ranges, in CIDR notation.
|
String |
toString()
Returns a string representation of this object.
|
IPSet |
withDefinition(Collection<String> definition)
The list of IP addresses and address ranges, in CIDR notation.
|
IPSet |
withDefinition(String... definition)
The list of IP addresses and address ranges, in CIDR notation.
|
public List<String> getDefinition()
The list of IP addresses and address ranges, in CIDR notation.
public void setDefinition(Collection<String> definition)
The list of IP addresses and address ranges, in CIDR notation.
definition
- The list of IP addresses and address ranges, in CIDR notation.public IPSet withDefinition(String... definition)
The list of IP addresses and address ranges, in CIDR notation.
NOTE: This method appends the values to the existing list (if any). Use
setDefinition(java.util.Collection)
or withDefinition(java.util.Collection)
if you want to
override the existing values.
definition
- The list of IP addresses and address ranges, in CIDR notation.public IPSet withDefinition(Collection<String> definition)
The list of IP addresses and address ranges, in CIDR notation.
definition
- The list of IP addresses and address ranges, in CIDR notation.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.