public void setDirection(String direction) {
        this.direction = direction;
    }
<p>
The direction of traffic flow to inspect. If set to <code>ANY</code>, the inspection matches bidirectional
traffic, both from the source to the destination and from the destination to the source. If set to
<code>FORWARD</code>, the inspection only matches traffic going from the source to the destination.
</p>

@param direction
       The direction of traffic flow to inspect. If set to <code>ANY</code>, the inspection matches bidirectional
       traffic, both from the source to the destination and from the destination to the source. If set to
       <code>FORWARD</code>, the inspection only matches traffic going from the source to the destination.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/RuleGroupSourceStatefulRulesHeaderDetails.java