public NetworkConnectionAction withConnectionDirection(String connectionDirection) {
        setConnectionDirection(connectionDirection);
        return this;
    }
<p>
The direction of the network connection request (<code>IN</code> or <code>OUT</code>).
</p>

@param connectionDirection
       The direction of the network connection request (<code>IN</code> or <code>OUT</code>).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/NetworkConnectionAction.java