@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TCPFlagField extends Object implements Serializable, Cloneable, StructuredPojo
TCP flags and masks to inspect packets for, used in stateless rules MatchAttributes settings.
Constructor and Description |
---|
TCPFlagField() |
Modifier and Type | Method and Description |
---|---|
TCPFlagField |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFlags()
Used in conjunction with the
Masks setting to define the flags that must be set and flags that must
not be set in order for the packet to match. |
List<String> |
getMasks()
The set of flags to consider in the inspection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFlags(Collection<String> flags)
Used in conjunction with the
Masks setting to define the flags that must be set and flags that must
not be set in order for the packet to match. |
void |
setMasks(Collection<String> masks)
The set of flags to consider in the inspection.
|
String |
toString()
Returns a string representation of this object.
|
TCPFlagField |
withFlags(Collection<String> flags)
Used in conjunction with the
Masks setting to define the flags that must be set and flags that must
not be set in order for the packet to match. |
TCPFlagField |
withFlags(String... flags)
Used in conjunction with the
Masks setting to define the flags that must be set and flags that must
not be set in order for the packet to match. |
TCPFlagField |
withFlags(TCPFlag... flags)
Used in conjunction with the
Masks setting to define the flags that must be set and flags that must
not be set in order for the packet to match. |
TCPFlagField |
withMasks(Collection<String> masks)
The set of flags to consider in the inspection.
|
TCPFlagField |
withMasks(String... masks)
The set of flags to consider in the inspection.
|
TCPFlagField |
withMasks(TCPFlag... masks)
The set of flags to consider in the inspection.
|
public List<String> getFlags()
Used in conjunction with the Masks
setting to define the flags that must be set and flags that must
not be set in order for the packet to match. This setting can only specify values that are also specified in the
Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
Masks
setting to define the flags that must be set and flags
that must not be set in order for the packet to match. This setting can only specify values that are also
specified in the Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
TCPFlag
public void setFlags(Collection<String> flags)
Used in conjunction with the Masks
setting to define the flags that must be set and flags that must
not be set in order for the packet to match. This setting can only specify values that are also specified in the
Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
flags
- Used in conjunction with the Masks
setting to define the flags that must be set and flags
that must not be set in order for the packet to match. This setting can only specify values that are also
specified in the Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
TCPFlag
public TCPFlagField withFlags(String... flags)
Used in conjunction with the Masks
setting to define the flags that must be set and flags that must
not be set in order for the packet to match. This setting can only specify values that are also specified in the
Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
NOTE: This method appends the values to the existing list (if any). Use
setFlags(java.util.Collection)
or withFlags(java.util.Collection)
if you want to override the
existing values.
flags
- Used in conjunction with the Masks
setting to define the flags that must be set and flags
that must not be set in order for the packet to match. This setting can only specify values that are also
specified in the Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
TCPFlag
public TCPFlagField withFlags(Collection<String> flags)
Used in conjunction with the Masks
setting to define the flags that must be set and flags that must
not be set in order for the packet to match. This setting can only specify values that are also specified in the
Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
flags
- Used in conjunction with the Masks
setting to define the flags that must be set and flags
that must not be set in order for the packet to match. This setting can only specify values that are also
specified in the Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
TCPFlag
public TCPFlagField withFlags(TCPFlag... flags)
Used in conjunction with the Masks
setting to define the flags that must be set and flags that must
not be set in order for the packet to match. This setting can only specify values that are also specified in the
Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
flags
- Used in conjunction with the Masks
setting to define the flags that must be set and flags
that must not be set in order for the packet to match. This setting can only specify values that are also
specified in the Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
The ones that are set in this flags setting must be set in the packet.
The ones that are not set in this flags setting must also not be set in the packet.
TCPFlag
public List<String> getMasks()
The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.
TCPFlag
public void setMasks(Collection<String> masks)
The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.
masks
- The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this
with no setting.TCPFlag
public TCPFlagField withMasks(String... masks)
The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.
NOTE: This method appends the values to the existing list (if any). Use
setMasks(java.util.Collection)
or withMasks(java.util.Collection)
if you want to override the
existing values.
masks
- The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this
with no setting.TCPFlag
public TCPFlagField withMasks(Collection<String> masks)
The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.
masks
- The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this
with no setting.TCPFlag
public TCPFlagField withMasks(TCPFlag... masks)
The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.
masks
- The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this
with no setting.TCPFlag
public String toString()
toString
in class Object
Object.toString()
public TCPFlagField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.