@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleVariables extends Object implements Serializable, Cloneable, StructuredPojo
Settings that are available for use in the rules in the RuleGroup where this is defined.
| Constructor and Description |
|---|
RuleVariables() |
| Modifier and Type | Method and Description |
|---|---|
RuleVariables |
addIPSetsEntry(String key,
IPSet value)
Add a single IPSets entry
|
RuleVariables |
addPortSetsEntry(String key,
PortSet value)
Add a single PortSets entry
|
RuleVariables |
clearIPSetsEntries()
Removes all the entries added into IPSets.
|
RuleVariables |
clearPortSetsEntries()
Removes all the entries added into PortSets.
|
RuleVariables |
clone() |
boolean |
equals(Object obj) |
Map<String,IPSet> |
getIPSets()
A list of IP addresses and address ranges, in CIDR notation.
|
Map<String,PortSet> |
getPortSets()
A list of port ranges.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIPSets(Map<String,IPSet> iPSets)
A list of IP addresses and address ranges, in CIDR notation.
|
void |
setPortSets(Map<String,PortSet> portSets)
A list of port ranges.
|
String |
toString()
Returns a string representation of this object.
|
RuleVariables |
withIPSets(Map<String,IPSet> iPSets)
A list of IP addresses and address ranges, in CIDR notation.
|
RuleVariables |
withPortSets(Map<String,PortSet> portSets)
A list of port ranges.
|
public Map<String,IPSet> getIPSets()
A list of IP addresses and address ranges, in CIDR notation.
public void setIPSets(Map<String,IPSet> iPSets)
A list of IP addresses and address ranges, in CIDR notation.
iPSets - A list of IP addresses and address ranges, in CIDR notation.public RuleVariables withIPSets(Map<String,IPSet> iPSets)
A list of IP addresses and address ranges, in CIDR notation.
iPSets - A list of IP addresses and address ranges, in CIDR notation.public RuleVariables addIPSetsEntry(String key, IPSet value)
public RuleVariables clearIPSetsEntries()
public Map<String,PortSet> getPortSets()
A list of port ranges.
public void setPortSets(Map<String,PortSet> portSets)
A list of port ranges.
portSets - A list of port ranges.public RuleVariables withPortSets(Map<String,PortSet> portSets)
A list of port ranges.
portSets - A list of port ranges.public RuleVariables addPortSetsEntry(String key, PortSet value)
public RuleVariables clearPortSetsEntries()
public String toString()
toString in class ObjectObject.toString()public RuleVariables clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.