public void setDirection(String direction) {
        this.direction = direction;
    }
<p>
The direction of the data lineage node refers to the lineage node having neighbors in that direction. For
example, if direction is <code>UPSTREAM</code>, the <code>ListLineageNodeHistory</code> API responds with
historical versions with upstream neighbors only.
</p>

@param direction
       The direction of the data lineage node refers to the lineage node having neighbors in that direction. For
       example, if direction is <code>UPSTREAM</code>, the <code>ListLineageNodeHistory</code> API responds with
       historical versions with upstream neighbors only.
@see EdgeDirection
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/ListLineageNodeHistoryRequest.java