@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupSourceStatelessRuleMatchAttributesTcpFlags extends Object implements Serializable, Cloneable, StructuredPojo
A set of TCP flags and masks to inspect for.
Constructor and Description |
---|
RuleGroupSourceStatelessRuleMatchAttributesTcpFlags() |
Modifier and Type | Method and Description |
---|---|
RuleGroupSourceStatelessRuleMatchAttributesTcpFlags |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFlags()
Defines the flags from the
Masks setting that must 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)
Defines the flags from the
Masks setting that must 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.
|
RuleGroupSourceStatelessRuleMatchAttributesTcpFlags |
withFlags(Collection<String> flags)
Defines the flags from the
Masks setting that must be set in order for the packet to match. |
RuleGroupSourceStatelessRuleMatchAttributesTcpFlags |
withFlags(String... flags)
Defines the flags from the
Masks setting that must be set in order for the packet to match. |
RuleGroupSourceStatelessRuleMatchAttributesTcpFlags |
withMasks(Collection<String> masks)
The set of flags to consider in the inspection.
|
RuleGroupSourceStatelessRuleMatchAttributesTcpFlags |
withMasks(String... masks)
The set of flags to consider in the inspection.
|
public RuleGroupSourceStatelessRuleMatchAttributesTcpFlags()
public List<String> getFlags()
Defines the flags from the Masks
setting that must be set in order for the packet to match. Flags
that are listed must be set. Flags that are not listed must not be set.
Masks
setting that must be set in order for the packet to match.
Flags that are listed must be set. Flags that are not listed must not be set.public void setFlags(Collection<String> flags)
Defines the flags from the Masks
setting that must be set in order for the packet to match. Flags
that are listed must be set. Flags that are not listed must not be set.
flags
- Defines the flags from the Masks
setting that must be set in order for the packet to match.
Flags that are listed must be set. Flags that are not listed must not be set.public RuleGroupSourceStatelessRuleMatchAttributesTcpFlags withFlags(String... flags)
Defines the flags from the Masks
setting that must be set in order for the packet to match. Flags
that are listed must be set. Flags that are not listed must not be set.
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
- Defines the flags from the Masks
setting that must be set in order for the packet to match.
Flags that are listed must be set. Flags that are not listed must not be set.public RuleGroupSourceStatelessRuleMatchAttributesTcpFlags withFlags(Collection<String> flags)
Defines the flags from the Masks
setting that must be set in order for the packet to match. Flags
that are listed must be set. Flags that are not listed must not be set.
flags
- Defines the flags from the Masks
setting that must be set in order for the packet to match.
Flags that are listed must be set. Flags that are not listed must not be set.public List<String> getMasks()
The set of flags to consider in the inspection. If not specified, then all flags are inspected.
public void setMasks(Collection<String> masks)
The set of flags to consider in the inspection. If not specified, then all flags are inspected.
masks
- The set of flags to consider in the inspection. If not specified, then all flags are inspected.public RuleGroupSourceStatelessRuleMatchAttributesTcpFlags withMasks(String... masks)
The set of flags to consider in the inspection. If not specified, then all flags are inspected.
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. If not specified, then all flags are inspected.public RuleGroupSourceStatelessRuleMatchAttributesTcpFlags withMasks(Collection<String> masks)
The set of flags to consider in the inspection. If not specified, then all flags are inspected.
masks
- The set of flags to consider in the inspection. If not specified, then all flags are inspected.public String toString()
toString
in class Object
Object.toString()
public RuleGroupSourceStatelessRuleMatchAttributesTcpFlags clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.