public void setScanDirection(String scanDirection) {
        this.scanDirection = scanDirection;
    }
<p>
The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is
provided, FORWARD with StartPosition.
</p>

@param scanDirection
       The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition
       is provided, FORWARD with StartPosition.
@see ScanDirection
aws-java-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/GetTranscriptRequest.java