public StartRunRequest withRetentionMode(String retentionMode) {
        setRetentionMode(retentionMode);
        return this;
    }
<p>
The retention mode for the run.
</p>

@param retentionMode
       The retention mode for the run.
@return Returns a reference to this object so that method calls can be chained together.
@see RunRetentionMode
aws-java-sdk-omics/src/main/java/com/amazonaws/services/omics/model/StartRunRequest.java