public GetWorkflowResult withType(WorkflowType type) {
        this.type = type.toString();
        return this;
    }
<p>
The workflow's type.
</p>

@param type
       The workflow's type.
@return Returns a reference to this object so that method calls can be chained together.
@see WorkflowType
aws-java-sdk-omics/src/main/java/com/amazonaws/services/omics/model/GetWorkflowResult.java